diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-14 13:40:27 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-31 21:07:19 +0900 |
commit | 04d3e0727a15367971678ff913402745cbaede5e (patch) | |
tree | f72796fd1f1a64f2a43a664ee08d57e8de591ed3 | |
parent | c090c64b4faa429c9f0f7c361e932e6b1a960a3d (diff) |
[rubygems/rubygems] Move traling `if` to the same line for readablity
https://github.com/rubygems/rubygems/commit/d722b8b578
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3379
-rw-r--r-- | lib/rubygems/installer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 3882330b53..c9d87c5617 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -704,8 +704,7 @@ class Gem::Installer return if self.class.path_warning user_bin_dir = @bin_dir || Gem.bindir(gem_home) - user_bin_dir = user_bin_dir.tr(File::ALT_SEPARATOR, File::SEPARATOR) if - File::ALT_SEPARATOR + user_bin_dir = user_bin_dir.tr(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR path = ENV['PATH'] if Gem.win_platform? |