fix: opencppcoverage path on windows

This commit is contained in:
Amin Yahyaabadi 2021-09-16 13:52:24 -05:00
parent c77dfe5251
commit b492a11246
1 changed files with 3 additions and 1 deletions

View File

@ -7,5 +7,7 @@ export async function setupOpencppcoverage(version: string | undefined, _setupCp
return
}
await setupChocoPack("opencppcoverage", version)
addPath("C:/Program Files/OpenCppCoverage")
const binDir = "C:/Program Files/OpenCppCoverage"
addPath(binDir)
return { binDir }
}