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:
parent
0e904ada39
commit
c5964e9cc2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue