Remove spurious async

Not sure how this ever worked...
This commit is contained in:
Ben Edgington
2025-06-11 11:54:17 +01:00
parent a8a5d7c043
commit 40f5bd01b7

View File

@@ -83,7 +83,7 @@ function inlineSvg(options) {
const { logger, doCache } = options;
return function (tree) {
visit(tree, 'paragraph', async (node) => {
visit(tree, 'paragraph', (node) => {
if (node.children[0].type == 'image') {
const image = node.children[0];