From 5e8e705b5078ef477eee9e64db565ca7d883fcdb Mon Sep 17 00:00:00 2001 From: Gautham Goli Date: Sun, 30 Jul 2017 22:01:07 +0530 Subject: [PATCH] audit: fix bug where `brew audit foo` runs every style check. --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index b6f9e5106c..34305f93ec 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -94,7 +94,7 @@ module Homebrew elsif !except_cops.empty? options[:except_cops] = except_cops elsif !strict - options[:except_cops] = [:FormulaAuditStrict, :NewFormulaAudit] + options[:only_cops] = [:FormulaAudit] end # Check style in a single batch run up front for performance