Skip to content
Snippets Groups Projects
Unverified Commit c635e47b authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #6146 from Moisan/bump-revision-no-formula

bump-revision: raise an error when no formula argument
parents e098c37d 816fdd0f
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ module Homebrew
# user path, too.
ENV["PATH"] = ENV["HOMEBREW_PATH"]
raise FormulaUnspecifiedError if ARGV.formulae.empty?
raise "Multiple formulae given, only one is allowed." if ARGV.formulae.length > 1
formula = ARGV.formulae.first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment