From 376741827929e85f7c271cafb88bf4f71b5c26b9 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Wed, 13 Dec 2023 15:09:25 +0530 Subject: [PATCH] updated the undo path for windows Signed-off-by: nikhil2611 --- lib/chef-cli/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef-cli/helpers.rb b/lib/chef-cli/helpers.rb index 9cdabd46..f7a1e6c2 100644 --- a/lib/chef-cli/helpers.rb +++ b/lib/chef-cli/helpers.rb @@ -144,7 +144,7 @@ def expected_omnibus_root def default_package_home if Chef::Platform.windows? - File.join(ENV["LOCALAPPDATA"], ChefCLI::Dist::PRODUCT_PKG_HOME) + File.join(ENV["LOCALAPPDATA"], ChefCLI::Dist::PRODUCT_PKG_HOME).gsub('\\','/') else File.expand_path("~/.#{ChefCLI::Dist::PRODUCT_PKG_HOME}") end