diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-16 16:02:32 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 07:35:49 +0900 |
commit | ae3002b5401fb8b38d9a3a9b9e27e6a36ac79ff2 (patch) | |
tree | bdeff34fade7fda288c134bd8881f2a2797d09da | |
parent | 56a28a8728dceb4bbcd6269c7ae3cb894c4ce512 (diff) | |
download | ruby-ae3002b5401fb8b38d9a3a9b9e27e6a36ac79ff2.tar.gz |
[rubygems/rubygems] Fixup #2844
https://github.com/rubygems/rubygems/commit/5924286ae2
-rw-r--r-- | lib/rubygems/gemcutter_utilities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 1b89946cb7..2950d94dc1 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -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 |