зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Fixup #2844
https://github.com/rubygems/rubygems/commit/5924286ae2
This commit is contained in:
Родитель
56a28a8728
Коммит
ae3002b540
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче