create: show audit command on the next line

This makes it easy to copy/paste the command, which needs to be
run anyway.
This commit is contained in:
Anatoli Babenia 2024-09-26 09:06:50 +03:00
parent b8821ed14d
commit 82f9ebd613

View File

@ -224,7 +224,10 @@ module Homebrew
end
PyPI.update_python_resources! formula, ignore_non_pypi_packages: true if args.python?
puts "Please run `HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new #{fc.name}` before submitting, thanks."
puts <<~EOS
Please run the following command before submitting, thanks.
HOMEBREW_NO_INSTALL_FROM_API=1 brew audit --new #{fc.name}
EOS
path
end