diff options
| author | Mike McQuaid | 2015-01-05 08:01:20 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-05 08:01:20 +0000 |
| commit | e09d72231c1d2d16e05ace8f88e1bd4fb33e6746 (patch) | |
| tree | 0512a2c90238e1ce310e1a704e963ceeb824c09e /Library | |
| parent | f3b5c0d34a474d957e97462895c3722b8354aa79 (diff) | |
| download | homebrew-e09d72231c1d2d16e05ace8f88e1bd4fb33e6746.tar.bz2 | |
style: explicitly point to config file.
Closes #35556.
Diffstat (limited to 'Library')
| -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 |
