Skip to content

Commit

Permalink
Fixup #2844
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 16, 2019
1 parent ec508c0 commit 5924286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/gemcutter_utilities.rb
Expand Up @@ -87,7 +87,7 @@ def rubygems_api_request(method, path, host = nil, allowed_push_host = nil, &blo

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

Expand Down

0 comments on commit 5924286

Please sign in to comment.