Decode CodeQL stdout as UTF-8
This commit is contained in:
parent
741bd73e8e
commit
512d4671bc
3 changed files with 3 additions and 3 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -468,7 +468,7 @@ function getCodeQLForCmd(cmd) {
|
||||||
await new toolrunner.ToolRunner(cmd, args, {
|
await new toolrunner.ToolRunner(cmd, args, {
|
||||||
listeners: {
|
listeners: {
|
||||||
stdout: (data) => {
|
stdout: (data) => {
|
||||||
output += data.toString();
|
output += data.toString("utf8");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}).exec();
|
}).exec();
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -717,7 +717,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
||||||
await new toolrunner.ToolRunner(cmd, args, {
|
await new toolrunner.ToolRunner(cmd, args, {
|
||||||
listeners: {
|
listeners: {
|
||||||
stdout: (data: Buffer) => {
|
stdout: (data: Buffer) => {
|
||||||
output += data.toString();
|
output += data.toString("utf8");
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}).exec();
|
}).exec();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue