1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Revert issue introduced by misunderstanding of rescue modifier

This commit is contained in:
William Johnston 2016-03-21 21:30:08 -05:00
parent 8483017185
commit 410ef1b256

View file

@ -17,8 +17,8 @@ module RemoteCommandHelpers
def safely_remove_file(_path)
run_vagrant_command("rm #{test_file}")
rescue VagrantHelpers::VagrantSSHCommandError
nil
rescue
VagrantHelpers::VagrantSSHCommandError
end
end