Skip to content

Commit 02b2c3a

Browse files
committed
Fix style inconsistency
1 parent aa048ac commit 02b2c3a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/analyze-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze-action.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ async function run() {
445445
}
446446

447447
if (
448-
runStats &&
449-
uploadResults &&
450-
uploadResults[analyses.AnalysisKind.CodeScanning]
448+
runStats !== undefined &&
449+
uploadResults !== undefined &&
450+
uploadResults[analyses.AnalysisKind.CodeScanning] !== undefined
451451
) {
452452
await sendStatusReport(
453453
startedAt,
@@ -464,7 +464,7 @@ async function run() {
464464
dependencyCacheResults,
465465
logger,
466466
);
467-
} else if (runStats) {
467+
} else if (runStats !== undefined) {
468468
await sendStatusReport(
469469
startedAt,
470470
config,

0 commit comments

Comments
 (0)