Skip to content

Commit

Permalink
Trace uploader: fix git binary on windows (#54580)
Browse files Browse the repository at this point in the history
Closes WEB-1449
  • Loading branch information
wbinnssmith authored Aug 29, 2023
1 parent 540f8e2 commit 0ef4761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/trace/trace-uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ interface TraceMetadata {

const commit = child_process
.spawnSync(
os.platform() === 'win32' ? 'git.cmd' : 'git',
os.platform() === 'win32' ? 'git.exe' : 'git',
['rev-parse', 'HEAD'],
{ shell: true }
)
Expand Down

0 comments on commit 0ef4761

Please sign in to comment.