Log commands manually before executing them
This commit is contained in:
parent
6ed1ccdc9a
commit
f5920c85ab
3 changed files with 3 additions and 1 deletions
1
lib/codeql.js
generated
1
lib/codeql.js
generated
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue