style: explicitly point to config file.
Closes Homebrew/homebrew#35556.
This commit is contained in:
parent
980cad0717
commit
3821c190f9
@ -8,7 +8,8 @@ module Homebrew
|
|||||||
|
|
||||||
Homebrew.install_gem_setup_path! "rubocop"
|
Homebrew.install_gem_setup_path! "rubocop"
|
||||||
|
|
||||||
system "rubocop", "--format", "simple", *target
|
system "rubocop", "--format", "simple", "--config",
|
||||||
|
"#{HOMEBREW_LIBRARY}/.rubocop.yml", *target
|
||||||
Homebrew.failed = !$?.success?
|
Homebrew.failed = !$?.success?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user