diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2019-06-22 16:41:07 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-07-31 07:47:01 +0800 |
commit | a7bce01175762ba763148fe29f5cbadf5d0f6250 (patch) | |
tree | 7fea32a53a6f6e2a0951bf78d6260a32a0a34218 | |
parent | 8b91a6d0a0b8b2f1aaebf9636139f3f933c6f86d (diff) | |
download | ruby-a7bce01175762ba763148fe29f5cbadf5d0f6250.tar.gz |
[rubygems/rubygems] Remove unnecessary &&= operator
https://github.com/rubygems/rubygems/commit/a10b5265d7
-rw-r--r-- | lib/rubygems/commands/which_command.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/commands/which_command.rb b/lib/rubygems/commands/which_command.rb index 3c30702672..fca463a1ef 100644 --- a/lib/rubygems/commands/which_command.rb +++ b/lib/rubygems/commands/which_command.rb @@ -57,8 +57,7 @@ requiring to see why it does not behave as you expect. if paths.empty? alert_error "Can't find Ruby library file or shared library #{arg}" - - found &&= false + found = false else say paths end |