diff --git a/src/opencppcoverage/opencppcoverage.ts b/src/opencppcoverage/opencppcoverage.ts index 55766bb9..526d27f3 100644 --- a/src/opencppcoverage/opencppcoverage.ts +++ b/src/opencppcoverage/opencppcoverage.ts @@ -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 } }