aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-08-02 10:59:39 +0100
committerMike McQuaid2016-08-02 12:44:41 +0100
commit0302a6bc7cc72aed9b729e9d465856e65b6c8b2c (patch)
treece67a5f4d0b2898db553446a2f1811c1af3173bc /Library/Homebrew/dev-cmd
parentebe8b8d328bba2ec5f450482f4a88ee1df4bb833 (diff)
downloadbrew-0302a6bc7cc72aed9b729e9d465856e65b6c8b2c.tar.bz2
audit: add --new-formula option.
Rather than nudge people to run `--strict` and then ignore some of the results sometimes (e.g. GitHub repository notability) instead add a dedicated `--new-formula` option that implies this is a one-time advisory check.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index c7309b114..0c1beeca2 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -445,7 +445,7 @@ module Homebrew
fetch_args << "--force" if ARGV.include? "--cleanup"
audit_args = [formula_name]
- audit_args << "--strict" << "--online" if @added_formulae.include? formula_name
+ audit_args << "--new-formula" if @added_formulae.include? formula_name
if formula.stable
unless satisfied_requirements?(formula, :stable)