aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-08-08 09:31:01 +0100
committerMike McQuaid2016-08-08 10:55:02 +0100
commit9d8c4e6279ae50b1e476ca3e2fb1f6469a3e71a5 (patch)
treec27892a60bc3651d054b0cb07a1d24fc03664dea /Library
parent3847db6026bc025bb7567a1b00d6428e276c297b (diff)
downloadbrew-9d8c4e6279ae50b1e476ca3e2fb1f6469a3e71a5.tar.bz2
tap: allow Homebrew developers to tap broken taps.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/tap.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb
index f38df64b3..22b123250 100644
--- a/Library/Homebrew/tap.rb
+++ b/Library/Homebrew/tap.rb
@@ -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