chore: code formatting
This commit is contained in:
1 parent
4fa62aad67
commit
d3228a126a
94 files changed
+3875
-3822
No files matched your search
@@ -95,7 +95,7 @@ export default async function({login, graphql, rest, data, q, queries, imports},
|
||||
}
|
||||
catch (error) {
|
||||
console.debug(`metrics/compute/${login}/base > failed to retrieve ${_batch} repositories after ${cursor}, this is probably due to an API timeout, halving batch`)
|
||||
_batch = Math.floor(_batch/2)
|
||||
_batch = Math.floor(_batch / 2)
|
||||
if (_batch < 1) {
|
||||
console.debug(`metrics/compute/${login}/base > failed to retrieve repositories, cannot halve batch anymore`)
|
||||
throw error
|
||||
|
||||
Reference in new issue
Block a user