From 04d3e0727a15367971678ff913402745cbaede5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Tue, 14 Jul 2020 13:40:27 +0200 Subject: [PATCH] [rubygems/rubygems] Move traling `if` to the same line for readablity https://github.com/rubygems/rubygems/commit/d722b8b578 --- lib/rubygems/installer.rb | 3 +-- 1 file changed, 1 insertion(+), 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?