Skip to content

Commit

Permalink
fix: handle username case insensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
indrif committed Apr 15, 2024
1 parent 9068821 commit 81409df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ export const getUsernameFromGithubUsername = (
export const getAllEmployeesGithubusernames = () => {
const employees: Employee[] = JSON.parse(getFileContent(EMPLOYEES_JSON));
// assertValidData(employees, schemaEmployees);
return new Set(employees.map((e) => e.githubUsername));
return new Set(employees.map((e) => e.githubUsername.toLocaleLowerCase()));
};

0 comments on commit 81409df

Please sign in to comment.