From 3821c190f90f61fdbb17c2785d61e0cd67a97d7e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 5 Jan 2015 08:01:20 +0000 Subject: [PATCH] style: explicitly point to config file. Closes Homebrew/homebrew#35556. --- Library/Homebrew/cmd/style.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 132b9d2e3e..1114c63723 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