fix(github): Do not limit pagination for discovered repos (#7476)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Sergio Zharinov 2020-10-16 08:54:54 +04:00 committed by GitHub
parent 87222bdcda
commit 4e08d56cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ export async function getRepos(): Promise<string[]> {
try {
const res = await githubApi.getJson<{ full_name: string }[]>(
'user/repos?per_page=100',
{ paginate: true }
{ paginate: 'all' }
);
return res.body.map((repo) => repo.full_name);
} catch (err) /* istanbul ignore next */ {