Skip to content

Commit f7f3d69

Browse files
committed
Apply suggestion
1 parent 36eb43a commit f7f3d69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/src/remark/auto-js-code.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const autoJSCodePlugin: Plugin<[], md.Root> = () => async (tree, file) => {
5757

5858
// We save the computation for later
5959
// because `visit` does not allow async visitors.
60-
6160
asyncFns.push(async () => {
6261
// Remove our flag from the meta so other plugins don't trip up
6362
const newMeta = node.meta.replace(META_FLAG_REGEX, '')
@@ -100,7 +99,7 @@ const autoJSCodePlugin: Plugin<[], md.Root> = () => async (tree, file) => {
10099
],
101100
}
102101

103-
// Replace input node for the new ones in the parent's children array
102+
// Replace input node for the new one in the parent's children array
104103
parent.children.splice(idx, 1, newNode)
105104
})
106105
})

0 commit comments

Comments
 (0)