fix(style): requiring parens in block bodies

This commit is contained in:
Julian Lam
2019-08-13 14:36:15 -04:00
parent 0921230976
commit 29f96b199c
26 changed files with 35 additions and 35 deletions

View File

@@ -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));