Skip to content
Browse files

Merge branch 'master' of github.com:aheckmann/gm

  • Loading branch information...
2 parents ab1fe07 + 9e67d55 commit e592bb8cf1208307d8d071f0794cdd2c5090e2a9 @aheckmann committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/command.js
View
6 lib/command.js
@@ -257,8 +257,10 @@ module.exports = function (proto) {
function cb (self, err, stdout, stderr, cmd) {
if (cb.called) return;
cb.called = 1;
- self._in = [];
- self._out = [];
+ if (args[0] !== 'identify' && bin !== 'identify') {
+ self._in = [];
+ self._out = [];
+ }
callback.call(self, err, stdout, stderr, cmd);
}
}

0 comments on commit e592bb8

Please sign in to comment.
Something went wrong with that request. Please try again.