We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14179f2 commit 6583672Copy full SHA for 6583672
source/plugins/lines/index.mjs
@@ -30,7 +30,7 @@ export default async function({login, data, imports, rest, q, account}, {enabled
30
response = [...await Promise.allSettled(repositories.map(async ({repo, owner}) => imports.filters.repo(`${owner}/${repo}`, skipped) ? {handle: `${owner}/${repo}`, stats: (await rest.repos.getContributorsStats({owner, repo})).data} : {}))].filter(({status}) => status === "fulfilled").map((
31
{value},
32
) => value)
33
- if ((delay)&&(!i)) {
+ if ((delay) && (!i)) {
34
console.debug(`metrics/compute/${login}/plugins > lines > waiting ${delay}s while waiting for contributor stats to be updated`)
35
await new Promise(resolve => setTimeout(resolve, delay * 1000))
36
}
0 commit comments