diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:41:32 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | f86296fa0aae4eb94666828798f1cf6f8cfaebf7 (patch) | |
tree | abb99d567933eeead926d9804df194f3c66fa4a2 /lib/rubygems/user_interaction.rb | |
parent | 4ab23df2c4540578e77c79a8aaf06178362edb76 (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.rb | 3 |
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 |