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

ruby-changes:62612

From: aycabta <ko1@a...>
Date: Tue, 18 Aug 2020 18:57:08 +0900 (JST)
Subject: [ruby-changes:62612] b3f84b4a5b (master): [ruby/irb] Expand path to run separated test correctly

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

From b3f84b4a5b7c78339c28baa11f75ed4c121bd5ca Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 13 Aug 2020 19:19:00 +0900
Subject: [ruby/irb] Expand path to run separated test correctly

https://github.com/ruby/irb/commit/be2937abd5

diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb
index d2c38c1..7cb2113 100644
--- a/lib/irb/input-method.rb
+++ b/lib/irb/input-method.rb
@@ -326,7 +326,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/input-method.rb#L326
       config = Reline::Config.new
       str = "ReidlineInputMethod with Reline #{Reline::VERSION}"
       if config.respond_to?(:inputrc_path)
-        inputrc_path = config.inputrc_path
+        inputrc_path = File.expand_path(config.inputrc_path)
       else
         inputrc_path = File.expand_path(ENV['INPUTRC'] || '~/.inputrc')
       end
-- 
cgit v0.10.2


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

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