fix: rewrote the missing frontmatter message
This commit is contained in:
committed by
mrugesh mohapatra
parent
3acba8cb61
commit
3f80effdbd
@ -6,7 +6,7 @@ const frontmatterCheck = (fullPath, isTranslation, fileContent) => {
|
||||
let errors = [];
|
||||
if (!frontmatter || _.isEmpty(frontmatter) || !frontmatter.title) {
|
||||
errors.push({
|
||||
msg: `Missing \`title key\` frontmatter.`,
|
||||
msg: `Misplaced frontmatter or missing \`title key\` frontmatter.`,
|
||||
fullPath
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user