Skip to content

Commit

Permalink
fix: async/await complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Sep 26, 2024
1 parent 3fe8145 commit 3616a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,15 +360,15 @@ module.exports = (config) => {
});
});
});
await _closeTestRun();
_closeTestRun();
}
});
} else {
output.log('There is no TC, hence no test run is created');
}
}

async function _closeTestRun() {
function _closeTestRun() {
if (config.closeTestRun === true) {
testrail.closeTestRun(runId).then(res => {
output.log(`The run ${runId} is updated with ${JSON.stringify(res)}`);
Expand Down

0 comments on commit 3616a23

Please sign in to comment.