lint: Re-run eslint --fix

This commit is contained in:
Richard Hansen 2020-12-16 16:51:43 -05:00 committed by John McLear
parent fc234d0088
commit f54dcbc766
13 changed files with 44 additions and 44 deletions

View file

@ -371,7 +371,7 @@ function aCallFirst(hook_name, args, cb, predicate) {
hookCallWrapper(hook, hook_name, args, (res) => { cb(null, res); });
},
cb,
predicate,
predicate
);
}

View file

@ -150,10 +150,10 @@ function partsToParentChildList(parts) {
// Used only in Node, so no need for _
function sortParts(parts) {
return tsort(
partsToParentChildList(parts),
partsToParentChildList(parts)
).filter(
(name) => parts[name] !== undefined,
(name) => parts[name] !== undefined
).map(
(name) => parts[name],
(name) => parts[name]
);
}

View file

@ -92,7 +92,7 @@ exports.clientPluginNames = function () {
const client_plugin_names = _.uniq(
defs.parts
.filter((part) => part.hasOwnProperty('client_hooks'))
.map((part) => `plugin-${part.plugin}`),
.map((part) => `plugin-${part.plugin}`)
);
return client_plugin_names;