Send init-post status report in absence of config

This commit is contained in:
Henry Mercer
2025-02-03 19:46:23 +00:00
parent ad42dbd32d
commit cf7c687919
3 changed files with 13 additions and 13 deletions

View File

@@ -67,17 +67,16 @@ async function runWrapper() {
logger.warning(
"Debugging artifacts are unavailable since the 'init' Action failed before it could produce any.",
);
return;
} else {
uploadFailedSarifResult = await initActionPostHelper.run(
debugArtifacts.tryUploadAllAvailableDebugArtifacts,
printDebugLogs,
config,
repositoryNwo,
features,
logger,
);
}
uploadFailedSarifResult = await initActionPostHelper.run(
debugArtifacts.tryUploadAllAvailableDebugArtifacts,
printDebugLogs,
config,
repositoryNwo,
features,
logger,
);
} catch (unwrappedError) {
const error = wrapError(unwrappedError);
core.setFailed(error.message);