dev-cmd/edit: simplify flag check.
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
This commit is contained in:
parent
89af10f29a
commit
08c7044598
@ -62,7 +62,7 @@ module Homebrew
|
||||
exec_editor(*paths)
|
||||
|
||||
if paths.any? do |path|
|
||||
next if path.is_a?(String) && path == "--project"
|
||||
next if path == "--project"
|
||||
|
||||
!Homebrew::EnvConfig.no_install_from_api? &&
|
||||
!Homebrew::EnvConfig.no_env_hints? &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user