[前][次][番号順一覧][スレッド一覧]

ruby-changes:62473

From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:49 +0900 (JST)
Subject: [ruby-changes:62473] 04d3e0727a (master): [rubygems/rubygems] Move traling `if` to the same line for readablity

https://git.ruby-lang.org/ruby.git/commit/?id=04d3e0727a

From 04d3e0727a15367971678ff913402745cbaede5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 14 Jul 2020 13:40:27 +0200
Subject: [rubygems/rubygems] Move traling `if` to the same line for readablity

https://github.com/rubygems/rubygems/commit/d722b8b578

diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 3882330..c9d87c5 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -704,8 +704,7 @@ class Gem::Installer https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L704
     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?
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]