doctor: f.prefix is already a pathname
This commit is contained in:
parent
2b47739822
commit
4e9128aa6c
@ -738,7 +738,7 @@ end
|
|||||||
def __check_linked_brew f
|
def __check_linked_brew f
|
||||||
links_found = []
|
links_found = []
|
||||||
|
|
||||||
Pathname.new(f.prefix).find do |src|
|
f.prefix.find do |src|
|
||||||
dst=HOMEBREW_PREFIX+src.relative_path_from(f.prefix)
|
dst=HOMEBREW_PREFIX+src.relative_path_from(f.prefix)
|
||||||
next unless dst.symlink?
|
next unless dst.symlink?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user