Skip to content

Commit

Permalink
added quotes around field for missing spaces error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinator444 committed Nov 4, 2024
1 parent e1eb03f commit c61edd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/frontmatter-validator/frontmatter-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function getMissingSpaceErrors(frontmatterContents, schema) {
const match = frontmatterContents.match(regex);
if (frontmatterContents.match(regex)) {
errors.push(
`A space is missing after the ':' in the field '${field}'. Please add a space between the ':' and the ${field} value`
`A space is missing after the ':' in the field '${field}'. Please add a space between the ':' and the '${field}' value`
);
}
}
Expand Down

0 comments on commit c61edd9

Please sign in to comment.