diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:55:04 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | bf69d1fc5d73aab8e0b69e0389ab5131f3d40223 (patch) | |
tree | 12bbfe740d1e11bebd412d168156594557a9b7c3 /lib/rubygems/commands/update_command.rb | |
parent | f4b073ef7ad959c43b7d14acad2df49a5d056874 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/OrAssignment
https://github.com/rubygems/rubygems/commit/965fc82cfd
Diffstat (limited to 'lib/rubygems/commands/update_command.rb')
-rw-r--r-- | lib/rubygems/commands/update_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb index 1801d8be28..d1c0a32ece 100644 --- a/lib/rubygems/commands/update_command.rb +++ b/lib/rubygems/commands/update_command.rb @@ -37,7 +37,7 @@ class Gem::Commands::UpdateCommand < Gem::Command add_option("--system [VERSION]", Gem::Version, "Update the RubyGems system software") do |value, options| - value = true unless value + value ||= true options[:system] = value end |