We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffb2dd5 + 980823e commit 4506bfbCopy full SHA for 4506bfb
lib/ci-helper.ts
@@ -86,7 +86,7 @@ export class CIHelper {
86
// see https://github.com/desktop/dugite/blob/v2.7.1/lib/git-environment.ts#L44-L64
87
// Also: We cannot use `await git(["--exec-path"]);` because that would use Dugite, which would
88
// override `GIT_EXEC_PATH` and then `git --exec-path` would report _that_...
89
- process.env.GIT_EXEC_PATH = spawnSync("/usr/bin/git", ["--exec-path"]).stdout.toString("utf-8").trimEnd();
+ process.env.GIT_EXEC_PATH = spawnSync(gitPath, ["--exec-path"]).stdout.toString("utf-8").trimEnd();
90
break;
91
}
92
0 commit comments