Log commands manually before executing them

This commit is contained in:
Henry Mercer 2023-08-10 15:29:57 +01:00
parent 6ed1ccdc9a
commit f5920c85ab
3 changed files with 3 additions and 1 deletions

1
lib/codeql.js generated
View file

@ -729,6 +729,7 @@ const maxErrorSize = 20000;
async function runTool(cmd, args = [], opts = {}) {
let output = "";
let error = "";
process.stdout.write(`[command]${cmd} ${args.join(" ")}\n`);
const exitCode = await new toolrunner.ToolRunner(cmd, args, {
ignoreReturnCode: true,
listeners: {

File diff suppressed because one or more lines are too long