diff options
| author | Mike McQuaid | 2015-11-25 09:26:14 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-25 09:26:42 +0000 |
| commit | 22b0abbfb8b7a8c741ffd7ff0f7153aa52624379 (patch) | |
| tree | 6daae68df0e382fc3b17264a864207fbde936150 /Library/Homebrew/cmd | |
| parent | 060f0e3d6efaf6da8082ea6e1d0332fadd6f7dfe (diff) | |
| download | brew-22b0abbfb8b7a8c741ffd7ff0f7153aa52624379.tar.bz2 | |
audit: only run brew style when on Ruby 2.0.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 4c416312c..506a6b190 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -14,7 +14,7 @@ module Homebrew problem_count = 0 strict = ARGV.include? "--strict" - if strict && ARGV.resolved_formulae.any? && MacOS.version >= :mavericks + if strict && ARGV.resolved_formulae.any? && RUBY_VERSION.split(".").first.to_i >= 2 require "cmd/style" ohai "brew style #{ARGV.resolved_formulae.join " "}" style |
