aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 9a15c6de7..12eaf9167 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -137,7 +137,7 @@ class FormulaAuditor
attr_reader :formula, :text, :problems
- BUILD_TIME_DEPS = %W[
+ BUILD_TIME_DEPS = %w[
autoconf
automake
boost-build
@@ -449,9 +449,8 @@ class FormulaAuditor
end
return unless @new_formula
- unless formula.deprecated_options.empty?
- problem "New formulae should not use `deprecated_option`."
- end
+ return if formula.deprecated_options.empty?
+ problem "New formulae should not use `deprecated_option`."
end
def audit_desc