[ruby/reline] Fix config.rb to File.expand_path $include path in

inputrc
(https://github.com/ruby/reline/pull/592)

* Fix config.rb to File.expand_path $include path in inputrc

* fix bug of test_include_expand_path on Windows

4d34e52d0b
This commit is contained in:
elfham 2023-09-26 22:08:16 +09:00 committed by git
parent c2c0a083f0
commit 3f1cfc43bd
2 changed files with 18 additions and 1 deletions

View file

@ -252,7 +252,7 @@ class Reline::Config
end
@skip_section = @if_stack.pop
when 'include'
read(args)
read(File.expand_path(args))
end
end