Skip to content

Commit

Permalink
fix: fix MaxListenersExceededWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
zaldih committed Oct 10, 2022
1 parent a5c5406 commit 802b2fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/stream.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class StreamService {
stdout.removeListener('error', errorHandler);
stdout.removeListener('end', endHandler);

stderr.removeListener('data', bashErrorHandler);
stderr.removeListener('error', errorHandler);
};
});
Expand Down

0 comments on commit 802b2fa

Please sign in to comment.