From ae3002b5401fb8b38d9a3a9b9e27e6a36ac79ff2 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 16 Aug 2019 16:02:32 +0900 Subject: [PATCH] [rubygems/rubygems] Fixup #2844 https://github.com/rubygems/rubygems/commit/5924286ae2 --- lib/rubygems/gemcutter_utilities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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