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:
parent
56a28a8728
commit
ae3002b540
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue