mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
Fix tests rewriting logo.png
This commit is contained in:
@@ -65,6 +65,9 @@ image.resizeImage = function (data, callback) {
|
||||
}
|
||||
},
|
||||
function (image, next) {
|
||||
if (data.write === false) {
|
||||
return next();
|
||||
}
|
||||
image.write(data.target || data.path, next);
|
||||
}
|
||||
], function (err) {
|
||||
|
||||
Reference in New Issue
Block a user