1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fixup #2844

https://github.com/rubygems/rubygems/commit/5924286ae2
This commit is contained in:
Hiroshi SHIBATA 2019-08-16 16:02:32 +09:00
parent 56a28a8728
commit ae3002b540
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -87,7 +87,7 @@ module Gem::GemcutterUtilities
unless (host_uri.scheme == allowed_host_uri.scheme) && (host_uri.host == allowed_host_uri.host)
alert_error "#{self.host.inspect} is not allowed by the gemspec, which only allows #{allowed_push_host.inspect}"
terminate_interaction 1
terminate_interaction(ERROR_CODE)
end
end