Skip to content

Commit 65da995

Browse files
author
Matthew Forrester
committed
refactor: minor tweaks on RawWvLinewiseMock.
1 parent 039208d commit 65da995

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js-lib/src/wv-linewise.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class RawWvLinewiseMock extends RawWvLinewise {
299299
this.params.push({ name, value });
300300
}
301301

302-
async start(name: string, count: number) {
302+
start(name: string, count: number) {
303303
this.startedCounts.set(name, count);
304304
this.running.add(name);
305305
if (!this.started.has(name)) {
@@ -336,13 +336,13 @@ export class RawWvLinewiseMock extends RawWvLinewise {
336336
break;
337337
case REQUEST_TYPE.OUT:
338338
if (j.descriptor == 2) {
339-
console.log("STDERR: ", j.data);
339+
console.log(`STDERR: ${j.data}`);
340340
}
341341
if (j.descriptor == 1) {
342-
console.log("STDOUT: ", j.data);
342+
console.log(`STDOUT: ${j.data}`);
343343
}
344344
if ((j.descriptor > 2) && (j.descriptor < 10)) {
345-
console.log(`STD${j.descriptor}: `, j.data);
345+
console.log(`STD${j.descriptor}: ${j.data}`);
346346
}
347347
break;
348348
case REQUEST_TYPE.STREAM_START:

0 commit comments

Comments
 (0)