We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacda1d commit ee0213fCopy full SHA for ee0213f
.vscode/extensions/vscode-selfhost-test-provider/src/testOutputScanner.ts
@@ -111,12 +111,14 @@ export class TestOutputScanner implements vscode.Disposable {
111
}
112
113
114
- protected readonly processData = (data: string) => {
+ protected readonly processData = (data: string | Buffer) => {
115
if (this.args) {
116
this.outputEventEmitter.fire(`./scripts/test ${this.args.join(' ')}`);
117
this.args = undefined;
118
119
120
+ data = data.toString();
121
+
122
try {
123
const parsed = JSON.parse(data.trim()) as unknown;
124
if (parsed instanceof Array && parsed.length === 2 && typeof parsed[0] === 'string') {
0 commit comments