dev-cmd/edit: ignore linefeed in the message

This commit is contained in:
Anatoli Babenia 2023-09-23 13:01:43 +03:00 committed by GitHub
parent 4d625d03fc
commit a0a4fa4ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ module Homebrew
!Homebrew::EnvConfig.no_install_from_api? &&
!Homebrew::EnvConfig.no_env_hints?
opoo <<~EOS
`brew install` ignores 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