Skip to content

Commit 60b658e

Browse files
committed
Update comment
1 parent dcd1b12 commit 60b658e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/init-action-post-helper.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ export async function tryUploadSarifIfRunFailed(
128128
features: FeatureEnablement,
129129
logger: Logger,
130130
): Promise<UploadFailedSarifResult> {
131-
// If the only enabled analysis kind is `code-quality`, then we shouldn't
132-
// upload the failed SARIF to Code Scanning.
131+
// Only upload the failed SARIF to Code scanning if Code scanning is enabled.
133132
if (!isCodeScanningEnabled(config)) {
134133
return {
135134
upload_failed_run_skipped_because: "Code Scanning is not enabled.",

0 commit comments

Comments
 (0)