Use better comparison operator
This commit is contained in:
parent
57514f31db
commit
9532bda6e4
3 changed files with 5 additions and 5 deletions
4
lib/analyze.js
generated
4
lib/analyze.js
generated
|
|
@ -130,10 +130,10 @@ async function runAnalyze(repositoryNwo, commitOid, ref, analysisKey, analysisNa
|
|||
return { ...queriesStats };
|
||||
}
|
||||
let uploadStats;
|
||||
if (mode == "actions") {
|
||||
if (mode === "actions") {
|
||||
uploadStats = await upload_lib.uploadFromActions(outputDir, repositoryNwo, commitOid, ref, analysisKey, analysisName, workflowRunID, checkoutPath, environment, apiDetails, logger);
|
||||
}
|
||||
else if (mode == "runner") {
|
||||
else if (mode === "runner") {
|
||||
uploadStats = await upload_lib.uploadFromRunner(outputDir, repositoryNwo, commitOid, ref, checkoutPath, apiDetails, logger);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue