aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/style.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-28 22:34:09 +0200
committerMarkus Reiter2016-09-29 22:58:41 +0200
commit5800f2f084fa59d073a4793b0fb77630f12b2bab (patch)
tree670dd6b8dd97522e385c299fa30fd62f18346fae /Library/Homebrew/cmd/style.rb
parent5b2ae6885b787a2695494a16140c47f6f9175189 (diff)
downloadbrew-5800f2f084fa59d073a4793b0fb77630f12b2bab.tar.bz2
Use separate `.rubocop.yml` in `Library/Taps` and `Library/Homebrew`.
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
-rw-r--r--Library/Homebrew/cmd/style.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index 1a4b02277..d396f81ee 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -53,10 +53,10 @@ module Homebrew
args << "--auto-correct" if fix
if files.nil?
- args << "--config" << HOMEBREW_LIBRARY/".rubocop_core.yml"
+ args << "--config" << HOMEBREW_LIBRARY_PATH/".rubocop.yml"
args += [HOMEBREW_LIBRARY_PATH]
else
- args << "--config" << HOMEBREW_LIBRARY/".rubocop_formula.yml"
+ args << "--config" << HOMEBREW_LIBRARY/"Taps/.rubocop.yml"
args += files
end