Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
olduh29 committed Jun 18, 2020
1 parent c6d4156 commit ff390db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ console.log(dotnet.toString());
/**** ****/
/****************************************/

const coverageFile = `${path.dirname(testProject)}${path.delimiter}${testProject}\${output}`;
const testPath = path.dirname(testProject);
const coverageFile = `${testProject}${path.delimiter}${path.delimiter}${output}`;

console.log(`delete msbuild.rsp and set coverageFile output : ${coverageFile}`);

Expand All @@ -64,6 +65,10 @@ console.log(dotnet.toString());
core.setFailed(`unable to find coverage file ${coverageFile}`);
}

if (fs.existsSync(coverageFile)) {
console.log("coverage file created at "+coverageFile);
}


} catch (error) {
if (fs.existsSync('msbuild.rsp')) {
Expand Down

0 comments on commit ff390db

Please sign in to comment.