Skip to content

Commit c8b8cc4

Browse files
committed
fix: overwrite
1 parent 5ceefde commit c8b8cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/.vitepress/plugins/mirror.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const mirror = (): Plugin | undefined => {
6868
);
6969
});
7070
literalNodes.forEach((n) => {
71-
ms.update(
71+
ms.overwrite(
7272
n.start,
7373
n.end,
7474
JSON.stringify(mirrorBaseUrl + String(n.value)),

0 commit comments

Comments
 (0)