mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 08:27:03 +02:00
chore: upgrade dependencies (#5608)
* chore: upgrade dependencies * Revert github-slugger * Fixes * Update snapshots * Update Babel deps
This commit is contained in:
parent
a52d499218
commit
b62a12bfc6
30 changed files with 783 additions and 882 deletions
|
@ -183,7 +183,7 @@ export async function parseMarkdownFile(
|
|||
const markdownString = await fs.readFile(source, 'utf-8');
|
||||
try {
|
||||
return parseMarkdownString(markdownString, options);
|
||||
} catch (e) {
|
||||
} catch (e: any) {
|
||||
throw new Error(
|
||||
`Error while parsing Markdown file ${source}: "${e.message}".`,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue