aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-01-05 08:01:20 +0000
committerMike McQuaid2015-01-05 08:01:20 +0000
commite09d72231c1d2d16e05ace8f88e1bd4fb33e6746 (patch)
tree0512a2c90238e1ce310e1a704e963ceeb824c09e /Library
parentf3b5c0d34a474d957e97462895c3722b8354aa79 (diff)
downloadhomebrew-e09d72231c1d2d16e05ace8f88e1bd4fb33e6746.tar.bz2
style: explicitly point to config file.
Closes #35556.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/style.rb3
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