Skip to content

Commit

Permalink
closes #710, convert negative arg to positive for cat --ex
Browse files Browse the repository at this point in the history
  • Loading branch information
banister committed Oct 1, 2012
1 parent 24d9e48 commit ba0d052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pry/commands/cat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def process_ex
bt_index = ex.bt_index
ex.inc_bt_index
else
bt_index = opts[:ex]
bt_index = absolute_index_number(opts[:ex], ex.backtrace.size)
ex.bt_index = bt_index
ex.inc_bt_index
end
Expand Down

0 comments on commit ba0d052

Please sign in to comment.