Skip to content

Commit

Permalink
fix(choose-users): make usernames case insensitive (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillPoulson committed Aug 30, 2022
1 parent 6b1ff13 commit f406bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function chooseUsers(
filterUser: string = ''
): string[] {
const filteredCandidates = candidates.filter((reviewer: string): boolean => {
return reviewer !== filterUser
return reviewer.toLowerCase() !== filterUser.toLowerCase()
})

// all-assign
Expand Down

0 comments on commit f406bc0

Please sign in to comment.