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

@@ -86,7 +86,7 @@ module.exports = function (module) {
const item = cachedData[key] || {};
const result = {};
fields.forEach(field => {
fields.forEach((field) => {
result[field] = item[field] !== undefined ? item[field] : null;
});
return result;