Skip to content

Commit 2b77fb3

Browse files
committed
fix: print full path in dead links check
closes #4919
1 parent a248995 commit 2b77fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/markdownToVue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export async function createMarkdownToVueRenderFn(
162162
// validate data.links
163163
const deadLinks: MarkdownCompileResult['deadLinks'] = []
164164
const recordDeadLink = (url: string) => {
165-
deadLinks.push({ url, file: path.relative(srcDir, fileOrig) })
165+
deadLinks.push({ url, file: fileOrig })
166166
}
167167

168168
function shouldIgnoreDeadLink(url: string) {

0 commit comments

Comments
 (0)