Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
make stderr stream non-destroyable
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Nov 9, 2011
1 parent 4fc0fdc commit 5d89540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.js
Expand Up @@ -284,6 +284,7 @@
process.__defineGetter__('stderr', function() {
if (stderr) return stderr;
stderr = createWritableStdioStream(2);
stderr.end = stderr.destroy = stderr.destroySoon = function() { };
return stderr;
});

Expand Down

0 comments on commit 5d89540

Please sign in to comment.