Skip to content

Commit

Permalink
fix: option --cleanup-reviewed-prs actually works as documented
Browse files Browse the repository at this point in the history
  • Loading branch information
awendt committed Nov 9, 2024
1 parent 342b9e2 commit c27fe85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const doWork = async () => {
}

// Case 3: review requested but no reviews pending
if (options.cleanupReviewPrs) {
if (options.cleanupReviewedPrs) {
const reviewRequestedAndReviewed = reducer.notificationsForReviewedPRs;
console.debug("%d notifications for PRs requesting and gotten reviews, unsubscribing…", reviewRequestedAndReviewed.length);
await github.unsubscribe(reviewRequestedAndReviewed);
Expand Down

0 comments on commit c27fe85

Please sign in to comment.