debug(plugins/starlists): no output

This commit is contained in:
lowlighter
2022-01-16 09:13:42 -05:00
parent 19eb6aac3c
commit 8119ac9c47

View File

@@ -28,6 +28,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal
)) ))
const count = lists.length const count = lists.length
console.debug(`metrics/compute/${login}/plugins > starlists > found [${lists.map(({name}) => name)}]`) console.debug(`metrics/compute/${login}/plugins > starlists > found [${lists.map(({name}) => name)}]`)
console.log(">>>> DEBUG", only, ignored, lists, lists.filter(({name}) => name).filter(({name}) => (!only.length) || (only.includes(name.toLocaleLowerCase()))))
lists = lists lists = lists
.filter(({name}) => name) .filter(({name}) => name)
.filter(({name}) => (!only.length) || (only.includes(name.toLocaleLowerCase()))) .filter(({name}) => (!only.length) || (only.includes(name.toLocaleLowerCase())))