Skip to content

Commit

Permalink
Liiint
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Jun 5, 2024
1 parent 128440e commit 2918582
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/git-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ export function setupEnvironment(

if (process.platform === 'win32') {
const mingw = process.arch === 'x64' ? 'mingw64' : 'mingw32'
env.PATH = `${gitDir}\\${mingw}\\bin;${gitDir}\\${mingw}\\usr\\bin;${env.PATH ?? ''}`
env.PATH = `${gitDir}\\${mingw}\\bin;${gitDir}\\${mingw}\\usr\\bin;${
env.PATH ?? ''
}`
}

env.GIT_EXEC_PATH = resolveGitExecPath(env)
Expand Down

0 comments on commit 2918582

Please sign in to comment.