mirror of
https://github.com/github/codeql-action.git
synced 2026-10-29 17:17:15 +00:00
Address review
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user