Skip to content

Commit

Permalink
Merge pull request #16024 from abitrolly/patch-2
Browse files Browse the repository at this point in the history
dev-cmd/edit: make the warning easier to read
  • Loading branch information
MikeMcQuaid committed Sep 25, 2023
2 parents a8519f7 + 84ce25d commit f1d345a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/dev-cmd/edit.rb
Expand Up @@ -63,8 +63,8 @@ def edit
!Homebrew::EnvConfig.no_install_from_api? &&
!Homebrew::EnvConfig.no_env_hints?
opoo <<~EOS
Unless `HOMEBREW_NO_INSTALL_FROM_API` is set when running `brew install`,
it will ignore any locally edited #{(core_cask_path || core_cask_tap) ? "casks" : "formulae"}.
`brew install` ignores locally edited #{(core_cask_path || core_cask_tap) ? "casks" : "formulae"} if
`HOMEBREW_NO_INSTALL_FROM_API` is not set.
EOS
edit_api_message_displayed = true
end
Expand Down

0 comments on commit f1d345a

Please sign in to comment.