diff options
| -rw-r--r-- | Library/Homebrew/cmd/style.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 132b9d2e3..1114c6372 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -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 |
