Skip to content

Commit

Permalink
Do not ignore stderr when stdout is disabled (#547)
Browse files Browse the repository at this point in the history
do not ignore stderr when stdout is disabled
  • Loading branch information
0xmaayan authored Oct 18, 2024
1 parent e4ccc6c commit e965a6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/cli/localNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,8 @@ export class LocalNode {

childProcess.stderr?.on("data", (data: any) => {
const str = data.toString();
// Print local node output log
if (this.showStdout) {
console.log(str);
}
// Print local node output error log
console.log(str);
});

childProcess.stdout?.on("data", (data: any) => {
Expand Down

0 comments on commit e965a6c

Please sign in to comment.