Merge pull request #7929 from MikeMcQuaid/diagnostic-allow-gems

diagnostic: allow some uncommitted gems.
This commit is contained in:
Mike McQuaid 2020-07-07 11:54:23 +01:00 committed by GitHub
commit 0fa5cc6eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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