Skip to content

Commit 32256a6

Browse files
committed
fix: lint
1 parent 6579bc9 commit 32256a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/render/compiler/link.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export const linkCompiler = ({
3535
}
3636
} else {
3737
if (!isAbsolutePath(href) && href.startsWith('./')) {
38-
href = router.toURL(href, null, router.getCurrentPath()).replace(/^#\//, '/');
38+
href = router
39+
.toURL(href, null, router.getCurrentPath())
40+
.replace(/^#\//, '/');
3941
}
4042
attrs.push(href.indexOf('mailto:') === 0 ? '' : `target="${linkTarget}"`);
4143
attrs.push(

0 commit comments

Comments
 (0)