From 300d7e4799ebb15eba35ae7e888a0185059df0fe Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 7 Jul 2020 09:51:22 +0100 Subject: [PATCH] diagnostic: allow some uncommitted gems. Until these feature flags are fully enabled/removed these will result in uncommitted gems (which will block CI). --- Library/Homebrew/diagnostic.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index e12449f359..a5b8be2ccf 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -670,6 +670,11 @@ module Homebrew end next if status.blank? + # these will result in uncommitted gems. + if path == HOMEBREW_REPOSITORY + next if ENV["HOMEBREW_SORBET"] || ENV["HOMEBREW_PATCHELF_RB"] + end + message ||= "" message += "\n" unless message.empty? message += <<~EOS