Skip to content

Commit

Permalink
fix: exclude bot PRs from recent PRs (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Dec 20, 2024
1 parent 9e96b18 commit 65068de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const getRecentPRs = pMemoize(
});
return data
.filter((pr) => {
return !pr.user.type !== 'Bot' && pr.merged_at;
return pr.user.type !== 'Bot' && pr.merged_at;
})
.slice(0, 10);
} catch {
Expand Down

0 comments on commit 65068de

Please sign in to comment.