fixed one more failing test for rbx, only one more to go

This commit is contained in:
John Mair 2011-09-14 06:06:45 +12:00
parent 3441397b85
commit 1d63ff22de
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class Pry
bt_index = opts[:ex].to_i bt_index = opts[:ex].to_i
ex_file, ex_line = ex.bt_source_location_for(bt_index) ex_file, ex_line = ex.bt_source_location_for(bt_index)
if is_core_rbx_path?(ex_file) if ex_file && is_core_rbx_path?(ex_file)
file_name = rbx_convert_path_to_full(ex_file) file_name = rbx_convert_path_to_full(ex_file)
else else
file_name = ex_file file_name = ex_file