Address review

This commit is contained in:
Paolo Tranquilli
2025-10-07 17:16:28 +02:00
parent 86b2ad6646
commit 1b09eb4ccc
6 changed files with 7 additions and 7 deletions

View File

@@ -362,7 +362,7 @@ async function uploadPayload(
"payload.json",
);
logger.info(
`SARIF upload disabled via environment variable. Saving to ${payloadSaveFile}`,
`SARIF upload disabled by an environment variable. Saving to ${payloadSaveFile}`,
);
logger.info(`Payload: ${JSON.stringify(payload, null, 2)}`);
fs.writeFileSync(payloadSaveFile, JSON.stringify(payload, null, 2));

View File

@@ -115,7 +115,7 @@ async function run() {
// We don't upload results in test mode, so don't wait for processing
if (shouldSkipSarifUpload()) {
core.debug(
"SARIF upload disabled via environment variable. Waiting for processing is disabled.",
"SARIF upload disabled by an environment variable. Waiting for processing is disabled.",
);
} else if (actionsUtil.getRequiredInput("wait-for-processing") === "true") {
if (codeScanningResult !== undefined) {