Skip to content
Snippets Groups Projects
Commit bba6a59c authored by Mike McQuaid's avatar Mike McQuaid
Browse files

dev-cmd/bump-formula-pr: fix Rubocop warnings.

parent 9b5c45a7
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ module Homebrew
old_formula_version = formula_version(formula, requested_spec)
replacement_pairs = []
if requested_spec == :stable && formula.revision != 0
if requested_spec == :stable && formula.revision.nonzero?
replacement_pairs << [/^ revision \d+\n(\n( head "))?/m, "\\2"]
end
......
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