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 () {