From 7d98d99925bdbd83b609ae720878c2cfb36fbaed Mon Sep 17 00:00:00 2001 From: erezrokah Date: Mon, 15 Feb 2021 18:23:41 +0100 Subject: [PATCH] fix(command-lm-install): fix git =config path in windows --- src/utils/lm/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/lm/install.js b/src/utils/lm/install.js index 4893b4ee45a..5b04b7e3ef4 100644 --- a/src/utils/lm/install.js +++ b/src/utils/lm/install.js @@ -196,7 +196,7 @@ const getCurrentCredentials = async () => { const getGitConfigContent = (gitConfigPath) => ` # This next lines include Netlify's Git Credential Helper configuration in your Git configuration. [include] - path = ${path.posix.normalize(gitConfigPath)} + path = ${gitConfigPath.replace(/\\/g, '/')} ` const configureGitConfig = async function () {