fix(plugins/starlists): bad parenthesis [skip ci]

This commit is contained in:
lowlighter
2022-01-15 18:32:16 -05:00
parent 0336d19c28
commit 36bc67a29f

View File

@@ -29,8 +29,8 @@ export default async function({login, q, imports, data, account}, {enabled = fal
console.debug(`metrics/compute/${login}/plugins > starlists > found [${lists.map(({name}) => name)}]`)
lists = lists
.filter(({name}) => name)
.filter(({name}) => (!only.length)||(only.includes(name.toLocaleLowerCase()))
.filter(({name}) => !ignored.includes(name.toLocaleLowerCase())))
.filter(({name}) => (!only.length)||(only.includes(name.toLocaleLowerCase())))
.filter(({name}) => !ignored.includes(name.toLocaleLowerCase()))
.slice(0, limit)
console.debug(`metrics/compute/${login}/plugins > starlists > extracted ${lists.length} lists`)