Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-cmd/edit: make the warning easier to read #16024

Merged
merged 3 commits into from
Sep 25, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.
abitrolly marked this conversation as resolved.
Show resolved Hide resolved
EOS
edit_api_message_displayed = true
end
Expand Down