chore: code formatting
This commit is contained in:
@@ -60,7 +60,8 @@ async function pickOnlyGithubPublicRepos ({projects, axios, login, limit}) {
|
||||
const result = []
|
||||
|
||||
for await (const project of projects) {
|
||||
if (result.length >= limit) break
|
||||
if (result.length >= limit)
|
||||
break
|
||||
try {
|
||||
console.debug(`metrics/compute/${login}/plugins > wakatime > checking 'https://github.com/${login}/${project.name}'`)
|
||||
await axios.head(`https://github.com/${login}/${project.name}`)
|
||||
@@ -72,6 +73,7 @@ async function pickOnlyGithubPublicRepos ({projects, axios, login, limit}) {
|
||||
}
|
||||
}
|
||||
|
||||
if (result.length === 0) return undefined
|
||||
if (result.length === 0)
|
||||
return undefined
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user