summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/rehype-collect-headings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark/src/rehype-collect-headings.ts')
-rw-r--r--packages/markdown/remark/src/rehype-collect-headings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/rehype-collect-headings.ts b/packages/markdown/remark/src/rehype-collect-headings.ts
index 3bff443e2..05afae1ba 100644
--- a/packages/markdown/remark/src/rehype-collect-headings.ts
+++ b/packages/markdown/remark/src/rehype-collect-headings.ts
@@ -97,7 +97,7 @@ function getMdxFrontmatterVariablePath(node: MdxTextExpression): string[] | Erro
expressionPath.push(
expression.property.type === 'Literal'
? String(expression.property.value)
- : expression.property.name
+ : expression.property.name,
);
expression = expression.object;