Improve logging for Go autobuild when invoked in analyze step (#1862)

This commit is contained in:
Angela P Wen 2023-08-31 13:39:07 +02:00 committed by GitHub
parent c5acfe3b0d
commit 07d42ec34e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

1
lib/analyze-action.js generated
View file

@ -133,6 +133,7 @@ async function runAutobuildIfLegacyGoWorkflow(config, logger) {
}
return;
}
logger.debug("Running Go autobuild because extraction output (TRAP files) for Go code has not been found.");
await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger);
}
async function run() {

File diff suppressed because one or more lines are too long

View file

@ -168,6 +168,9 @@ async function runAutobuildIfLegacyGoWorkflow(config: Config, logger: Logger) {
}
return;
}
logger.debug(
"Running Go autobuild because extraction output (TRAP files) for Go code has not been found.",
);
await runAutobuild(Language.go, config, logger);
}