lib/rubygems/gemcutter_utilities.rb in rubygems-update-3.3.19 vs lib/rubygems/gemcutter_utilities.rb in rubygems-update-3.3.20
- old
+ new
@@ -69,10 +69,10 @@
@host ||=
begin
env_rubygems_host = ENV["RUBYGEMS_HOST"]
env_rubygems_host = nil if
- env_rubygems_host and env_rubygems_host.empty?
+ env_rubygems_host && env_rubygems_host.empty?
env_rubygems_host || configured_host
end
end