aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2015-01-05 07:52:47 +0000
committerMike McQuaid2015-01-05 07:52:47 +0000
commit980cad0717e8a22805bd3a1ac4e7860e4103c47d (patch)
tree12ee8005ff48f0a720baca47a1bffeeb4b9062cb /Library/Homebrew/cmd
parente871a9195890cc3cceccaa8d1d9e6a3e0ac20eae (diff)
downloadbrew-980cad0717e8a22805bd3a1ac4e7860e4103c47d.tar.bz2
audit (strict): only run `brew style` with Ruby 2.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 53a832230..3ca4a140d 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -9,7 +9,7 @@ module Homebrew
problem_count = 0
strict = ARGV.include? "--strict"
- if strict && ARGV.formulae.any?
+ if strict && ARGV.formulae.any? && MacOS.version >= :mavericks
require "cmd/style"
ohai "brew style #{ARGV.formulae.join " "}"
style