Skip to content

Commit

Permalink
yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 6, 2023
1 parent b035471 commit c02ec32
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/markdown/parseMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
);
}
}

Expand Down

0 comments on commit c02ec32

Please sign in to comment.