diff options
| author | Charlie Sharpsteen | 2011-11-14 08:22:59 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-11-14 08:22:59 -0800 |
| commit | 8ec2d8e04396caee709e475fbbcad46dc6f9146f (patch) | |
| tree | 266e6f83f9dd5f868dba1e9d55deb75879938ff2 /Library/Homebrew/cmd | |
| parent | 9e5c0da85ba4d0b66acb73af0c335db94389d724 (diff) | |
| download | brew-8ec2d8e04396caee709e475fbbcad46dc6f9146f.tar.bz2 | |
Hotfix for filtered_args breaking brew upgrade
The `filtered_args` method added to the `FormulaInstaller` makes a call
`ARGV.formulae`. Unfortunately, `ARGV.formulae` will throw a
`FormulaUnspecifiedError` instead of returning an empty list. This patch
avoids the issue by checking `ARGV.named.empty?` before calling
`ARGV.formulae`.
Fixes Homebrew/homebrew#8576.
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
