(resolves #14) - do not process attachments twice

pull/20/head
Johannes J. Schmidt 11 years ago
parent 259680555f
commit 9a8f4beb2a

@ -72,7 +72,9 @@ couchmagick.get({
stream.on('error', couchmagick.error);
stream.on('data', function(data) {
couchmagick.info(data.response);
if (data.response) {
couchmagick.info(data.response);
}
});
stream.on('end', next);
}

@ -1,6 +1,6 @@
{
"name": "couchmagick",
"version": "1.7.0",
"version": "1.8.0",
"description": "Run ImageMagicks `convert` on CouchDB documents.",
"main": "index.js",
"preferGlobal": true,
@ -28,7 +28,7 @@
"homepage": "https://github.com/jo/couchmagick",
"dependencies": {
"async": "~0.2.9",
"couchmagick-listen": "~1.5.6",
"couchmagick-listen": "~1.6.0",
"couch-daemon": "~1.2.1",
"nano": "~4.2.1"
},

Loading…
Cancel
Save