Skip to content

Commit 828a647

Browse files
committed
Fix exception on missing comments
Related to 3e27d8e.
1 parent 1d2deda commit 828a647

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
@@ -198,7 +198,7 @@ function mdxjsEsm(node, context) {
198198

199199
if (estree) {
200200
push.apply(context.comments, comments)
201-
attachComments(estree, estree.comments)
201+
attachComments(estree, comments)
202202
push.apply(context.esm, estree.body)
203203
}
204204
}

0 commit comments

Comments
 (0)