Skip to content

Commit

Permalink
Stagger entire backtrace output, or don't
Browse files Browse the repository at this point in the history
  • Loading branch information
rf- committed Dec 28, 2012
1 parent 1d214a4 commit 3add7ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pry/commands/pry_backtrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Command::PryBacktrace < Pry::ClassCommand
BANNER

def process
output.puts "\n#{text.bold('Backtrace:')}\n--\n"
stagger_output _pry_.backtrace.join("\n")
stagger_output text.bold('Backtrace:') +
"\n--\n" + _pry_.backtrace.join("\n")
end
end

Expand Down

0 comments on commit 3add7ab

Please sign in to comment.