Skip to content

Commit 872cefa

Browse files
committed
Don't emit finish on output streams, do emit end on main stream. Fix #540
1 parent 35733e0 commit 872cefa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/output.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ export class Output {
101101
this.result = result;
102102
if (this.project.reporter.finish) this.project.reporter.finish(result);
103103

104+
this.streamFull.emit('end');
104105
this.streamFull.emit('finish');
105-
this.streamJs.emit('finish');
106-
this.streamDts.emit('finish');
107106
this.streamFull.push(null);
108107
this.streamJs.push(null);
109108
this.streamDts.push(null);

0 commit comments

Comments
 (0)