tab: use installed_prefixes
This commit is contained in:
parent
fade4af050
commit
f442510787
@ -101,7 +101,7 @@ class Tab < OpenStruct
|
||||
paths << f.linked_keg.resolved_path
|
||||
end
|
||||
|
||||
if f.rack.directory? && (dirs = f.rack.subdirs).length == 1
|
||||
if (dirs = f.installed_prefixes).length == 1
|
||||
paths << dirs.first
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user