Skip to content

Commit

Permalink
fix: update github username validator regex
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan-cromell committed Apr 11, 2024
1 parent 975d07b commit f6bc878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const schemaProjectName = Joi.string()
.lowercase()
.invalid("index"); // index is reserved
export const schemaGithubUsername = Joi.string()
.regex(/^[a-z0-9\-\_\.]+$/)
.regex(/^[A-z0-9\-\_\.]+$/)
.min(1)
.max(38)
.required();
Expand Down

0 comments on commit f6bc878

Please sign in to comment.