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

rubocops/options: refactor unless ==.

parent 20998ed6
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ module RuboCop
" Migrate '--#{option}' with `deprecated_option`."
end
return unless formula_tap == "homebrew-core"
return if formula_tap != "homebrew-core"
problem DEP_OPTION if method_called_ever?(body_node, :deprecated_option)
problem OPTION if method_called_ever?(body_node, :option)
......
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