Adjust RuboCop formatter on CI.

This commit is contained in:
Markus Reiter 2020-09-02 02:02:01 +02:00
parent cbc3448634
commit 9d57bfc9ba

View File

@ -118,6 +118,12 @@ module Homebrew
case output_type case output_type
when :print when :print
args << "--debug" if debug 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? args << "--color" if Tty.color?
system cache_env, "rubocop", *args system cache_env, "rubocop", *args