From b492a1124648c35bd99d08fe70aa22f00d98afbf Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 16 Sep 2021 13:52:24 -0500 Subject: [PATCH] fix: opencppcoverage path on windows --- src/opencppcoverage/opencppcoverage.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } }