From aeb1fa7ecbd224f94bba1bcb042bfe35e36f8037 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 27 Jul 2013 22:21:37 -0700 Subject: [PATCH] unnecessary '!' --- plugins/kernel_v2/config/vm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 38c570cd1..c650ddc59 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -128,7 +128,7 @@ module VagrantPlugins if Vagrant::Util::Platform.windows? # On Windows, Ruby just uses normal '/' for path seps, so # just replace normal Windows style seps with Unix ones. - hostpath = hostpath.to_s.gsub!("\\", "/") + hostpath = hostpath.to_s.gsub("\\", "/") end options ||= {}