tap: allow Homebrew developers to tap broken taps.

This commit is contained in:
Mike McQuaid 2016-08-08 09:31:01 +01:00
parent 3847db6026
commit 9d8c4e6279

View File

@ -216,7 +216,9 @@ class Tap
begin
safe_system "git", *args
unless Readall.valid_tap?(self, :aliases => true)
raise "Cannot tap #{name}: invalid syntax in tap!"
unless ARGV.homebrew_developer?
raise "Cannot tap #{name}: invalid syntax in tap!"
end
end
rescue Interrupt, ErrorDuringExecution, RuntimeError
ignore_interrupts do