mirror of
https://github.com/github/codeql-action
synced 2026-05-31 00:00:46 +03:00
Decode CodeQL stdout as UTF-8
This commit is contained in:
Generated
+1
-1
@@ -468,7 +468,7 @@ function getCodeQLForCmd(cmd) {
|
||||
await new toolrunner.ToolRunner(cmd, args, {
|
||||
listeners: {
|
||||
stdout: (data) => {
|
||||
output += data.toString();
|
||||
output += data.toString("utf8");
|
||||
},
|
||||
},
|
||||
}).exec();
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user