Fix extra whitespace in CommandInvocationError
This commit is contained in:
parent
21c926745f
commit
e94e15d8dd
3 changed files with 7 additions and 7 deletions
6
lib/codeql.js
generated
6
lib/codeql.js
generated
|
|
@ -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;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -52,9 +52,9 @@ export class CommandInvocationError extends Error {
|
|||
public output: string
|
||||
) {
|
||||
super(
|
||||
`Failure invoking ${cmd} with arguments ${args}.\n
|
||||
Exit code ${exitCode} and error was:\n
|
||||
${error}`
|
||||
`Failure invoking ${cmd} with arguments ${args}.\n` +
|
||||
`Exit code ${exitCode} and error was:\n` +
|
||||
`${error}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue