remove unnecessary code

This commit is contained in:
Barış Soner Uşaklı
2018-03-21 10:09:09 -04:00
parent ae0f1847ae
commit 75e2ab8957

View File

@@ -78,9 +78,6 @@ image.resizeImage = function (data, callback) {
if (data.quality) { if (data.quality) {
image.quality(data.quality); image.quality(data.quality);
} }
next(null, image);
},
function (image, next) {
image.write(data.target || data.path, next); image.write(data.target || data.path, next);
}, },
], function (err) { ], function (err) {