diff options
| -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 |
