mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix indentation.
This commit is contained in:
parent
8f4844cbf7
commit
d5cbbf8630
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ class Pry
|
|||
def add_line_numbers(lines, start_line)
|
||||
line_array = lines.each_line.to_a
|
||||
line_array.each_with_index.map do |line, idx|
|
||||
adjusted_index = idx + start_line
|
||||
"#{colorize adjusted_index}: #{line}"
|
||||
adjusted_index = idx + start_line
|
||||
"#{colorize adjusted_index}: #{line}"
|
||||
end.join
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue