diagnostic: allow some uncommitted gems.

Until these feature flags are fully enabled/removed these will result
in uncommitted gems (which will block CI).
This commit is contained in:
Mike McQuaid 2020-07-07 09:51:22 +01:00
parent f455fe28a7
commit 300d7e4799
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -670,6 +670,11 @@ module Homebrew
end end
next if status.blank? 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 ||= ""
message += "\n" unless message.empty? message += "\n" unless message.empty?
message += <<~EOS message += <<~EOS