Comparing version 1.6.0 to 1.6.1
1.6.1 / 2012-11-13 | ||
================== | ||
* fixed regression; only pass additional params on error #96 | ||
1.6.0 / 2012-11-10 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -60,3 +60,7 @@ // gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed) | ||
self.identify(opts, function (err, stdout, stderr, cmd) { | ||
self.emit(getter, err, self.data[key], stdout, stderr, cmd); | ||
if (err) { | ||
self.emit(getter, err, self.data[key], stdout, stderr, cmd); | ||
} else { | ||
self.emit(getter, err, self.data[key]); | ||
} | ||
}); | ||
@@ -68,2 +72,7 @@ return self; | ||
self._exec(args, function (err, stdout, stderr, cmd) { | ||
if (err) { | ||
self.emit(getter, err, self.data[key], stdout, stderr, cmd); | ||
return; | ||
} | ||
var result = (stdout||'').trim(); | ||
@@ -77,3 +86,3 @@ | ||
self.emit(getter, err, self.data[key], stdout, stderr, cmd); | ||
self.emit(getter, err, self.data[key]); | ||
}); | ||
@@ -80,0 +89,0 @@ |
{ "name": "gm" | ||
, "description": "Graphics Magick for node." | ||
, "version": "1.6.0" | ||
, "version": "1.6.1" | ||
, "author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>" | ||
@@ -5,0 +5,0 @@ , "keywords": ["graphics", "magick", "image", "graphicsmagick", "imagemagick", "gm", "convert", "identify"] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260305
3559