diff --git a/plugins/communicators/winrm/command_filters/rm.rb b/plugins/communicators/winrm/command_filters/rm.rb index 251e26076..8ef79f148 100644 --- a/plugins/communicators/winrm/command_filters/rm.rb +++ b/plugins/communicators/winrm/command_filters/rm.rb @@ -20,7 +20,7 @@ module VagrantPlugins break end end - + # Figure out which argument is the path dir = cmd_parts.pop while !dir.nil? && dir.start_with?('-')