Skip to content

Commit

Permalink
Use better comparison operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Partington committed Nov 26, 2020
1 parent 57514f3 commit 9532bda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/analyze.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 9532bda

Please sign in to comment.