ESlint comma-dangle

This commit is contained in:
Peter Jaszkowiak
2017-02-17 19:31:21 -07:00
parent aa64ec7db1
commit bc1d70c126
345 changed files with 1974 additions and 1978 deletions

View File

@@ -25,7 +25,7 @@ module.exports = function (Posts) {
return groupTitle && array.indexOf(groupTitle) === index;
});
groups.getGroupsData(groupTitles, next);
}
},
], function (err, groupsData) {
if (err) {
return callback(err);
@@ -38,7 +38,7 @@ module.exports = function (Posts) {
slug: group.slug,
labelColor: group.labelColor,
icon: group.icon,
userTitle: group.userTitle
userTitle: group.userTitle,
};
}
});
@@ -73,7 +73,7 @@ module.exports = function (Posts) {
},
customProfileInfo: function (next) {
plugins.fireHook('filter:posts.custom_profile_info', {profile: [], uid: userData.uid}, next);
}
},
}, function (err, results) {
if (err) {
return next(err);