mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
remove unnecessary code
This commit is contained in:
@@ -78,9 +78,6 @@ image.resizeImage = function (data, callback) {
|
||||
if (data.quality) {
|
||||
image.quality(data.quality);
|
||||
}
|
||||
next(null, image);
|
||||
},
|
||||
function (image, next) {
|
||||
image.write(data.target || data.path, next);
|
||||
},
|
||||
], function (err) {
|
||||
|
||||
Reference in New Issue
Block a user