mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
bug fix: cat command needed expand_path!
This commit is contained in:
parent
a18d90b9e8
commit
df47e96b62
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ class Pry
|
|||
end
|
||||
|
||||
file_name, line_num = file_name.split(':')
|
||||
file_name = File.expand_path(file_name)
|
||||
set_file_and_dir_locals(file_name)
|
||||
|
||||
code = yield(Pry::Code.from_file(file_name))
|
||||
|
|
Loading…
Reference in a new issue