mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fix(style): requiring parens in block bodies
This commit is contained in:
@@ -108,7 +108,7 @@ module.exports = function (Posts) {
|
||||
]);
|
||||
};
|
||||
|
||||
Posts.uploads.saveSize = async filePaths => {
|
||||
Posts.uploads.saveSize = async (filePaths) => {
|
||||
await Promise.all(filePaths.map(async function (fileName) {
|
||||
try {
|
||||
const size = await image.size(path.join(pathPrefix, fileName));
|
||||
|
||||
Reference in New Issue
Block a user