feat: add activateOpencppcoverage

This commit is contained in:
Amin Yahyaabadi 2021-09-20 07:30:10 -05:00
parent dcedb6e575
commit e5d7c702c7
1 changed files with 7 additions and 2 deletions

View File

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