Skip to content

Commit

Permalink
chore: update filter bot
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed May 4, 2024
1 parent 6ce0292 commit 8b7908d
Show file tree
Hide file tree
Showing 7 changed files with 285 additions and 319 deletions.
31 changes: 3 additions & 28 deletions example/.cache.json

Large diffs are not rendered by default.

Binary file modified example/contributor-circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
200 changes: 99 additions & 101 deletions example/contributor-circles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
335 changes: 166 additions & 169 deletions example/contributor-wide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/contributor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 16 additions & 20 deletions example/contributor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function run(inlineConfig?: Contributorkit, t = consola) {
per_page: 100,
}) as any

allContributors = res?.data || []
allContributors = res?.data?.filter((v: any) => v.type !== 'Bot') || []

t.info('Resolving avatars...')
await resolveAvatars(allContributors)
Expand Down

0 comments on commit 8b7908d

Please sign in to comment.