Error handling for individual taps
Possibly would help diagnose: Homebrew/homebrew#13853.
This commit is contained in:
parent
b51fe22413
commit
ea6bfb66a1
@ -20,11 +20,16 @@ module Homebrew extend self
|
||||
new_files = []
|
||||
Dir["Library/Taps/*"].each do |tapd|
|
||||
cd tapd do
|
||||
begin
|
||||
updater = Updater.new
|
||||
updater.pull!
|
||||
report.merge!(updater.report) do |key, oldval, newval|
|
||||
oldval.concat(newval)
|
||||
end
|
||||
rescue
|
||||
tapd =~ %r{^Library/Taps/(\w+)-(\w+)}
|
||||
onoe "Failed to update tap: #$1/#$2"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user