mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Log commands manually before executing them
This commit is contained in:
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: {
|
||||
|
||||
Reference in New Issue
Block a user