diff --git a/packages/markdown/parseMarkdown.js b/packages/markdown/parseMarkdown.js index 59ce3a19e8d9b8..34212cb9087db7 100644 --- a/packages/markdown/parseMarkdown.js +++ b/packages/markdown/parseMarkdown.js @@ -684,10 +684,12 @@ ${headers.hooks ); if (!exists) { - throw new Error([ - `MUI: the card image for the blog post "${slug}" is missing.`, - `Add a docs/public/static/blog/${slug}/card.png file then restart Next.js or remove card: true from the headers.`, - ].join('\n')); + throw new Error( + [ + `MUI: the card image for the blog post "${slug}" is missing.`, + `Add a docs/public/static/blog/${slug}/card.png file then restart Next.js or remove card: true from the headers.`, + ].join('\n'), + ); } }