From 9d57bfc9ba34c91817b1740432924e4600d33c5c Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 2 Sep 2020 02:02:01 +0200 Subject: [PATCH] Adjust RuboCop formatter on CI. --- Library/Homebrew/style.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 26ce219853..6eadd25753 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -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