style: explicitly point to config file.

Closes Homebrew/homebrew#35556.
This commit is contained in:
Mike McQuaid 2015-01-05 08:01:20 +00:00
parent 980cad0717
commit 3821c190f9

View File

@ -8,7 +8,8 @@ module Homebrew
Homebrew.install_gem_setup_path! "rubocop"
system "rubocop", "--format", "simple", *target
system "rubocop", "--format", "simple", "--config",
"#{HOMEBREW_LIBRARY}/.rubocop.yml", *target
Homebrew.failed = !$?.success?
end
end