Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore the 'brew leaves' command. Refs #357

  • Loading branch information...
commit 2966bb3bea7f7655ca61ac185a955c19d2380651 1 parent 45bb2b1
@josegonzalez josegonzalez authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Formula/abstract-php-extension.rb
  2. +1 −1  Formula/abstract-php.rb
View
2  Formula/abstract-php-extension.rb
@@ -47,7 +47,7 @@ def initialize name='__UNKNOWN__', path=nil
init
rescue Exception => e
# Hack so that we pass all brew doctor tests
- reraise = e.backtrace.select { |l| l.match(/(doctor|cleanup|uses)\.rb/) }
+ reraise = e.backtrace.select { |l| l.match(/(doctor|cleanup|leaves|uses)\.rb/) }
raise e if reraise.empty?
end
end
View
2  Formula/abstract-php.rb
@@ -11,7 +11,7 @@ def initialize name='__UNKNOWN__', path=nil
super
rescue Exception => e
# Hack so that we pass all brew doctor tests
- reraise = e.backtrace.select { |l| l.match(/(doctor|cleanup|uses)\.rb/) }
+ reraise = e.backtrace.select { |l| l.match(/(doctor|cleanup|leaves|uses)\.rb/) }
raise e if reraise.empty?
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.