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:
parent
8483017185
commit
410ef1b256
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ module RemoteCommandHelpers
|
||||||
|
|
||||||
def safely_remove_file(_path)
|
def safely_remove_file(_path)
|
||||||
run_vagrant_command("rm #{test_file}")
|
run_vagrant_command("rm #{test_file}")
|
||||||
rescue VagrantHelpers::VagrantSSHCommandError
|
rescue
|
||||||
nil
|
VagrantHelpers::VagrantSSHCommandError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue