Skip to content

Commit

Permalink
dev-cmd/edit: make the warning easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly authored Sep 23, 2023
1 parent 0e22d82 commit 4d625d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/dev-cmd/edit.rb
Original file line number Diff line number Diff line change
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 4d625d0

Please sign in to comment.