audit (strict): only run brew style
with Ruby 2.
This commit is contained in:
parent
e871a91958
commit
980cad0717
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user