Update Library/Homebrew/utils/github.rb

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Elijah Olmos 2024-11-17 15:06:34 -07:00 committed by GitHub
parent 3922140f9a
commit ba4dfb2664
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -944,7 +944,7 @@ module GitHub
end
rescue => e
# Ignore SAML access errors (https://github.com/Homebrew/brew/issues/18610)
raise unless e.message.include?("SAML")
raise unless e.message.include?("Resource protected by organization SAML enforcement")
end
false