summaryrefslogtreecommitdiff
path: root/lib/rubygems/user_interaction.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:41:32 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commitf86296fa0aae4eb94666828798f1cf6f8cfaebf7 (patch)
treeabb99d567933eeead926d9804df194f3c66fa4a2 /lib/rubygems/user_interaction.rb
parent4ab23df2c4540578e77c79a8aaf06178362edb76 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/EmptyElse
https://github.com/rubygems/rubygems/commit/04227104ac
Diffstat (limited to 'lib/rubygems/user_interaction.rb')
-rw-r--r--lib/rubygems/user_interaction.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb
index 502ccc4357..116e8bbd5a 100644
--- a/lib/rubygems/user_interaction.rb
+++ b/lib/rubygems/user_interaction.rb
@@ -270,8 +270,7 @@ class Gem::StreamUI
when /^y/i then true
when /^n/i then false
when /^$/ then default
- else nil
- end
+ end
end
return result