backport image.normalise fix

This commit is contained in:
Barış Soner Uşaklı
2016-03-09 14:24:12 +02:00
parent cbbd254d33
commit 5765313b63

View File

@@ -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);
});
});
}
};