Skip to content

Commit b150165

Browse files
committed
Await the transformer result instead of returning
This way it’s explicit that it’s undefined.
1 parent 5e0d718 commit b150165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ module.exports = async ({ markdownAST, markdownNode }, options) => {
99
path: markdownNode.fileAbsolutePath
1010
})
1111
const transformer = plugin(options)
12-
return transformer(markdownAST, vfile)
12+
await transformer(markdownAST, vfile)
1313
}

0 commit comments

Comments
 (0)