diff options
| author | Mike McQuaid | 2015-01-05 08:01:20 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-05 08:01:20 +0000 |
| commit | 3821c190f90f61fdbb17c2785d61e0cd67a97d7e (patch) | |
| tree | 4c1ab12e40131d2242e2b08a719edd0514295d39 /Library/Homebrew/cmd/style.rb | |
| parent | 980cad0717e8a22805bd3a1ac4e7860e4103c47d (diff) | |
| download | brew-3821c190f90f61fdbb17c2785d61e0cd67a97d7e.tar.bz2 | |
style: explicitly point to config file.
Closes Homebrew/homebrew#35556.
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
| -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 |
