From 936822c12b9e45d2524b1ca5b4db27bc9dc9b505 Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Thu, 8 Dec 2022 21:01:44 +0800 Subject: [PATCH] chore: fix typos in comment --- packages/markdown/src/plugins/assetsPlugin/resolveLink.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/markdown/src/plugins/assetsPlugin/resolveLink.ts b/packages/markdown/src/plugins/assetsPlugin/resolveLink.ts index c2da19877fe..ef901155be5 100644 --- a/packages/markdown/src/plugins/assetsPlugin/resolveLink.ts +++ b/packages/markdown/src/plugins/assetsPlugin/resolveLink.ts @@ -17,7 +17,7 @@ export const resolveLink = ( (strict ? // only link starts with `./` or `../` /^\.{1,2}\//.test(link) - : // link without protocal and not absolute links + : // link without protocol and not absolute links !link.startsWith('/') && !/[A-z]+:\/\//.test(link)) && env.filePathRelative ) {