diff options
| author | Mike McQuaid | 2016-08-08 09:31:01 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-08-08 10:55:02 +0100 |
| commit | 9d8c4e6279ae50b1e476ca3e2fb1f6469a3e71a5 (patch) | |
| tree | c27892a60bc3651d054b0cb07a1d24fc03664dea | |
| parent | 3847db6026bc025bb7567a1b00d6428e276c297b (diff) | |
| download | brew-9d8c4e6279ae50b1e476ca3e2fb1f6469a3e71a5.tar.bz2 | |
tap: allow Homebrew developers to tap broken taps.
| -rw-r--r-- | Library/Homebrew/tap.rb | 4 |
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 |
