Skip to content

Commit

Permalink
- Removing some trace logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alcidesv committed Oct 16, 2014
1 parent 48f277b commit acaeac6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ module.exports = function (proto) {

if ("function" !== typeof callback) {
throughStream = new PassThrough();
console.log("artifical callback 1");
callback = function (err, stdout, stderr) {
if (err) throughStream.emit('error', err);
else stdout.pipe(throughStream);
Expand All @@ -145,7 +144,6 @@ module.exports = function (proto) {

var self = this;
this._preprocess(function (err) {
console.log("Unbuffered");
if (err) return callback(err);
return self._spawn(self.args(), false, callback);
});
Expand All @@ -170,7 +168,6 @@ module.exports = function (proto) {
}

return this.stream(format, function (err, stdout) {
console.log("artifical callback 2");
if (err) return callback(err);

streamToUnemptyBuffer(stdout, callback);
Expand Down

0 comments on commit acaeac6

Please sign in to comment.