Fix extra whitespace in CommandInvocationError

This commit is contained in:
Henry Mercer 2023-07-20 18:40:45 +01:00
parent 21c926745f
commit e94e15d8dd
3 changed files with 7 additions and 7 deletions

6
lib/codeql.js generated
View file

@ -38,9 +38,9 @@ const util = __importStar(require("./util"));
const util_1 = require("./util");
class CommandInvocationError extends Error {
constructor(cmd, args, exitCode, error, output) {
super(`Failure invoking ${cmd} with arguments ${args}.\n
Exit code ${exitCode} and error was:\n
${error}`);
super(`Failure invoking ${cmd} with arguments ${args}.\n` +
`Exit code ${exitCode} and error was:\n` +
`${error}`);
this.exitCode = exitCode;
this.error = error;
this.output = output;