mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-25 17:11:46 +02:00
backport image.normalise fix
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user