Skip to content

Commit

Permalink
fix: data.content
Browse files Browse the repository at this point in the history
  • Loading branch information
0x73746F66 committed Jun 19, 2024
1 parent 01db8e8 commit d69a78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export class GitHub {
})
}

if (metadataList.length < perPage) {
if (data.content.length < perPage) {
break
}

Expand Down Expand Up @@ -395,7 +395,7 @@ export class GitHub {
}
repos.push(...data.content)

if (currentRepos.length < perPage) {
if (data.content.length < perPage) {
break
}

Expand Down

0 comments on commit d69a78d

Please sign in to comment.