dev-cmd/edit: remove unneeded variable.
This commit is contained in:
parent
fff2c3ea79
commit
e98a052896
@ -64,8 +64,7 @@ module Homebrew
|
|||||||
exec_editor(*paths)
|
exec_editor(*paths)
|
||||||
|
|
||||||
is_formula = T.let(false, T::Boolean)
|
is_formula = T.let(false, T::Boolean)
|
||||||
show_hint = !Homebrew::EnvConfig.no_env_hints?
|
if !Homebrew::EnvConfig.no_env_hints? && paths.any? do |path|
|
||||||
if show_hint && paths.any? do |path|
|
|
||||||
next if path == "--project"
|
next if path == "--project"
|
||||||
|
|
||||||
is_formula = core_formula_path?(path)
|
is_formula = core_formula_path?(path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user