Don't bypass the toolcache in test mode
This commit is contained in:
parent
5862bae77e
commit
96a8424f0c
56 changed files with 135 additions and 4 deletions
2
lib/util.js
generated
2
lib/util.js
generated
|
|
@ -644,7 +644,7 @@ exports.checkActionVersion = checkActionVersion;
|
|||
* In test mode, we don't upload SARIF results or status reports to the GitHub API.
|
||||
*/
|
||||
function isInTestMode() {
|
||||
return process.env["TEST_MODE"] === "true" || false;
|
||||
return process.env["TEST_MODE"] === "true";
|
||||
}
|
||||
exports.isInTestMode = isInTestMode;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue