Update tap --repair function to ignore non-directory files in Library/Taps/
Closes Homebrew/homebrew#17518. Closes Homebrew/homebrew#17511. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
64eba71cb2
commit
7da376a50c
@ -92,7 +92,7 @@ module Homebrew extend self
|
||||
# check symlinks are all set in each tap
|
||||
HOMEBREW_REPOSITORY.join("Library/Taps").children.each do |tap|
|
||||
files = []
|
||||
tap.find_formula{ |file| files << tap.basename.join(file) }
|
||||
tap.find_formula{ |file| files << tap.basename.join(file) } if tap.directory?
|
||||
count += link_tap_formula(files)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user