Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
javagl committed Sep 19, 2023
1 parent 751f584 commit 6de58b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validation/metadata/SchemaValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export class SchemaValidator implements Validator<Schema> {
for (const [className, metadataClass] of Object.entries(classes)) {
const metadataClassPath = classesPath + "/" + className;

// Each class name name MUST match the ID regex
// Each class name MUST match the ID regex
if (
!BasicValidator.validateIdentifierString(
metadataClassPath,
Expand Down Expand Up @@ -198,7 +198,7 @@ export class SchemaValidator implements Validator<Schema> {
for (const [enumName, metadataEnum] of Object.entries(enums)) {
const metadataEnumPath = enumsPath + "/" + enumName;

// Each enum name name MUST match the ID regex
// Each enum name MUST match the ID regex
if (
!BasicValidator.validateIdentifierString(
metadataEnumPath,
Expand Down

0 comments on commit 6de58b6

Please sign in to comment.