diff options
| author | Christian Moritz | 2016-03-28 00:29:48 +0200 |
|---|---|---|
| committer | Xu Cheng | 2016-03-28 18:22:47 +0800 |
| commit | a87eb23a3b613de803f249aee2c9941f5190aef6 (patch) | |
| tree | b486ea73d2073f40ba31698ace2360cc82a9198d | |
| parent | 6135da800e4f93ded3a5a331d0efa691f4822afb (diff) | |
| download | brew-a87eb23a3b613de803f249aee2c9941f5190aef6.tar.bz2 | |
bump-formula-pr: fix typo in spec existence check
Closes Homebrew/homebrew#50472.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Homebrew/dev-cmd/bump-formula-pr.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 55ae1ae72..e45aa9398 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -25,7 +25,7 @@ module Homebrew else [:stable, formula.stable] end - odie "#{formula}: no #{requested_spec} specification found!" unless formula + odie "#{formula}: no #{requested_spec} specification found!" unless formula_spec hash_type, old_hash = if (checksum = formula_spec.checksum) [checksum.hash_type.to_s, checksum.hexdigest] |
