Skip to content

Commit

Permalink
throw away EPIPE
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Feb 17, 2014
1 parent 9bf4aaf commit 47a33b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ process.on('exit', function (code) {
process.exit(tap.exitCode);
}
});
process.stdout.on('error', function () {});

if (!process.stdin.isTTY || argv._[0] === '-') {
process.stdin.pipe(tap).pipe(process.stdout);
Expand Down

0 comments on commit 47a33b1

Please sign in to comment.