Skip to content

Commit

Permalink
Remove limit
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethWussmann committed Mar 6, 2024
1 parent ba147ce commit 03f4da6
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/archivalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,10 @@ export class ArchivalService {
count: giteaRepos.length,
});

const nonExistentRepos = starredRepos
.filter(
(starredRepo) =>
!giteaRepos.some(
(giteaRepo) => giteaRepo.name === starredRepo.name,
),
)
.slice(0, 12);
const nonExistentRepos = starredRepos.filter(
(starredRepo) =>
!giteaRepos.some((giteaRepo) => giteaRepo.name === starredRepo.name),
);

this.logger.info(
`Found ${nonExistentRepos.length} repos to archive. Beginning archival. This may take a while.`,
Expand Down

0 comments on commit 03f4da6

Please sign in to comment.