only send back err

v1.18.x
barisusakli 9 years ago
parent 0b2f01b8bc
commit 96a3db6365

@ -72,7 +72,9 @@ image.normalise = function(path, extension, callback) {
if (err) {
return callback(err);
}
image.write(path + '.png', callback);
image.write(path + '.png', function(err) {
callback(err);
});
});
}
};

Loading…
Cancel
Save