From 3f80effdbd4dc82ba4f7517554f95935ab5018a7 Mon Sep 17 00:00:00 2001 From: Randell Dawson Date: Tue, 20 Nov 2018 18:34:48 -0800 Subject: [PATCH] fix: rewrote the missing frontmatter message --- validation/guideFolderChecks/frontmatterCheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation/guideFolderChecks/frontmatterCheck.js b/validation/guideFolderChecks/frontmatterCheck.js index 8080625aff..fe2b27e1f3 100644 --- a/validation/guideFolderChecks/frontmatterCheck.js +++ b/validation/guideFolderChecks/frontmatterCheck.js @@ -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 }); }