diff --git a/features/support/remote_command_helpers.rb b/features/support/remote_command_helpers.rb index bafdf560..91420c1f 100644 --- a/features/support/remote_command_helpers.rb +++ b/features/support/remote_command_helpers.rb @@ -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