1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

added early exit (break) when error resolving object path with 'cd'

This commit is contained in:
John Mair 2011-09-27 12:30:17 +13:00
parent 0e904ada39
commit c5964e9cc2

View file

@ -37,6 +37,7 @@ class Pry
rescue RescuableException
output.puts "Bad object path: #{arg_string}. Failed trying to resolve: #{context}"
resolve_failure = true
break
end
end