style: update rubocop

This commit is contained in:
Dominyk Tiller 2015-09-09 15:58:33 +01:00
parent 63246fbc6c
commit 9dc461cb9f

View File

@ -8,11 +8,11 @@ module Homebrew
ARGV.formulae.map(&:path) ARGV.formulae.map(&:path)
end end
Homebrew.install_gem_setup_path! "rubocop", "0.34.0" Homebrew.install_gem_setup_path! "rubocop", "0.34.1"
args = [ args = [
"--format", "simple", "--force-exclusion", "--config", "--format", "simple", "--force-exclusion", "--config",
"#{HOMEBREW_LIBRARY}/.rubocop.yml" "#{HOMEBREW_LIBRARY}/.rubocop.yml",
] ]
args << "--auto-correct" if ARGV.homebrew_developer? && ARGV.flag?("--fix") args << "--auto-correct" if ARGV.homebrew_developer? && ARGV.flag?("--fix")