Skip to content

Commit

Permalink
Drop unused silent option from lib/fork.js. (#864)
Browse files Browse the repository at this point in the history
It's not used anywhere. I think we've refactored out all the tests that used to use it.
  • Loading branch information
jamestalmage authored and sindresorhus committed May 24, 2016
1 parent a543b9f commit a499523
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,11 @@ module.exports = function (file, opts) {
});

ps.stdout.on('data', function (data) {
if (!opts.silent) {
ps.emit('stdout', data);
}
ps.emit('stdout', data);
});

ps.stderr.on('data', function (data) {
if (!opts.silent) {
ps.emit('stderr', data);
}
ps.emit('stderr', data);
});

promise.on = function () {
Expand Down

0 comments on commit a499523

Please sign in to comment.