Use better comparison operator

This commit is contained in:
Sam Partington
2020-11-26 11:57:34 +00:00
parent 57514f31db
commit 9532bda6e4
3 changed files with 5 additions and 5 deletions

View File

@@ -259,7 +259,7 @@ export async function runAnalyze(
}
let uploadStats: upload_lib.UploadStatusReport;
if (mode == "actions") {
if (mode === "actions") {
uploadStats = await upload_lib.uploadFromActions(
outputDir,
repositoryNwo,
@@ -273,7 +273,7 @@ export async function runAnalyze(
apiDetails,
logger
);
} else if (mode == "runner") {
} else if (mode === "runner") {
uploadStats = await upload_lib.uploadFromRunner(
outputDir,
repositoryNwo,