mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Adjust RuboCop formatter on CI.
This commit is contained in:
parent
cbc3448634
commit
9d57bfc9ba
@ -118,6 +118,12 @@ module Homebrew
|
||||
case output_type
|
||||
when :print
|
||||
args << "--debug" if debug
|
||||
|
||||
if ENV["CI"]
|
||||
# Don't show the default formatter's progress dots on CI.
|
||||
args << "--format" << "clang"
|
||||
end
|
||||
|
||||
args << "--color" if Tty.color?
|
||||
|
||||
system cache_env, "rubocop", *args
|
||||
|
Loading…
x
Reference in New Issue
Block a user