Skip to content

Commit cd1dc6e

Browse files
authored
fix(command-lm-install): fix gitconfig path in windows (#1887)
1 parent b2c37a6 commit cd1dc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/lm/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const getCurrentCredentials = async () => {
193193
const getGitConfigContent = (gitConfigPath) => `
194194
# This next lines include Netlify's Git Credential Helper configuration in your Git configuration.
195195
[include]
196-
path = ${path.posix.normalize(gitConfigPath)}
196+
path = ${gitConfigPath.replace(/\\/g, '/')}
197197
`
198198

199199
const configureGitConfig = async function () {

0 commit comments

Comments
 (0)