Decode CodeQL stdout as UTF-8

This commit is contained in:
Aditya Sharad 2021-05-20 14:08:29 -07:00
parent 741bd73e8e
commit 512d4671bc
No known key found for this signature in database
GPG key ID: 66D1E528054C320C
3 changed files with 3 additions and 3 deletions

2
lib/codeql.js generated
View file

@ -468,7 +468,7 @@ function getCodeQLForCmd(cmd) {
await new toolrunner.ToolRunner(cmd, args, {
listeners: {
stdout: (data) => {
output += data.toString();
output += data.toString("utf8");
},
},
}).exec();

File diff suppressed because one or more lines are too long

View file

@ -717,7 +717,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
await new toolrunner.ToolRunner(cmd, args, {
listeners: {
stdout: (data: Buffer) => {
output += data.toString();
output += data.toString("utf8");
},
},
}).exec();