Skip to content
Snippets Groups Projects
Commit 980cad07 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit (strict): only run `brew style` with Ruby 2.

parent e871a919
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment