Skip to content

Commit f8d5c7d

Browse files
committed
fixup!
1 parent 055219c commit f8d5c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/queries/unist.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
22
LINKS_WITH_TYPES,
33
MARKDOWN_URL,
4-
NAME_EXPRESSION,
54
STABILITY_INDEX,
5+
TYPE_EXPRESSION,
66
TYPED_LIST_STARTERS,
77
UNIX_MANUAL_PAGE,
88
YAML_INNER_CONTENT,
@@ -29,7 +29,7 @@ export const isYamlNode = ({ type, value }) =>
2929
* @returns {boolean}
3030
*/
3131
export const isTextWithType = ({ type, value }) =>
32-
type === 'text' && NAME_EXPRESSION.test(value);
32+
type === 'text' && TYPE_EXPRESSION.test(value);
3333

3434
/**
3535
* @param {import('@types/mdast').Text} text

0 commit comments

Comments
 (0)