Skip to content

Commit 198cbcd

Browse files
committed
fix: add choco git path for Git binary
1 parent a716227 commit 198cbcd

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/git/git.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export async function setupGit(version: string, _setupDir: string, _arch: string
5353

5454
function findWindowsGit() {
5555
const candidates = [
56+
"C:/ProgramData/chocolatey/lib/git/bin/git.exe",
5657
"C:/Program Files/Git/bin/git.exe",
5758
"C:/Program Files (x86)/Git/bin/git.exe",
5859
]

0 commit comments

Comments
 (0)