bump-formula-pr: improve no formula output.

This means the help text will be output.
This commit is contained in:
Mike McQuaid 2019-03-20 11:33:11 +00:00
parent f70483a38e
commit 021468c8c0
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -109,7 +109,7 @@ module Homebrew
odie "Couldn't guess formula for sure: could be one of these:\n#{guesses}"
end
end
odie "No formula found!" unless formula
raise FormulaUnspecifiedError unless formula
check_for_duplicate_pull_requests(formula) unless checked_for_duplicates