mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Try to fix failing whereami test on 1.8 etc
Explicitly calling to_s before appending wth + "\n"
This commit is contained in:
parent
e1c1720226
commit
2d8fcb06a4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Pry
|
|||
set_file_and_dir_locals(@file)
|
||||
|
||||
out = "\n#{text.bold('From:')} #{location}:\n\n" +
|
||||
code.with_line_numbers(use_line_numbers?).with_marker(marker) + "\n"
|
||||
code.with_line_numbers(use_line_numbers?).with_marker(marker).to_s + "\n"
|
||||
|
||||
stagger_output(out)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue