Improve logging for Go autobuild when invoked in analyze step (#1862)
This commit is contained in:
parent
c5acfe3b0d
commit
07d42ec34e
3 changed files with 5 additions and 1 deletions
1
lib/analyze-action.js
generated
1
lib/analyze-action.js
generated
|
|
@ -133,6 +133,7 @@ async function runAutobuildIfLegacyGoWorkflow(config, logger) {
|
||||||
}
|
}
|
||||||
return;
|
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);
|
await (0, autobuild_1.runAutobuild)(languages_1.Language.go, config, logger);
|
||||||
}
|
}
|
||||||
async function run() {
|
async function run() {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -168,6 +168,9 @@ async function runAutobuildIfLegacyGoWorkflow(config: Config, logger: Logger) {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
logger.debug(
|
||||||
|
"Running Go autobuild because extraction output (TRAP files) for Go code has not been found.",
|
||||||
|
);
|
||||||
await runAutobuild(Language.go, config, logger);
|
await runAutobuild(Language.go, config, logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue