Fixed #render_output
This commit is contained in:
parent
b14be6c0c4
commit
7562f29170
|
@ -48,12 +48,12 @@ class Pry
|
||||||
def render_output(should_flood, start_line, doc)
|
def render_output(should_flood, start_line, doc)
|
||||||
if start_line
|
if start_line
|
||||||
doc = add_line_numbers(doc, start_line)
|
doc = add_line_numbers(doc, start_line)
|
||||||
|
end
|
||||||
|
|
||||||
if should_flood
|
if should_flood
|
||||||
output.puts doc
|
output.puts doc
|
||||||
else
|
else
|
||||||
stagger_output(doc)
|
stagger_output(doc)
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue