mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-05-18 14:34:23 +02:00
lint(links.ts): debug statements
This commit is contained in:
parent
c1bba16440
commit
473d05dab7
@ -228,13 +228,11 @@ export const CrawlLinks: QuartzTransformerPlugin<Partial<Options>> = (userOpts)
|
|||||||
|
|
||||||
if (!URL.canParse(node.properties.src)) {
|
if (!URL.canParse(node.properties.src)) {
|
||||||
let dest = node.properties.src as RelativeURL
|
let dest = node.properties.src as RelativeURL
|
||||||
console.log(dest)
|
|
||||||
dest = node.properties.src = transformLink(
|
dest = node.properties.src = transformLink(
|
||||||
file.data.slug!,
|
file.data.slug!,
|
||||||
dest,
|
dest,
|
||||||
transformOptions,
|
transformOptions,
|
||||||
)
|
)
|
||||||
console.log(dest)
|
|
||||||
node.properties.src = dest
|
node.properties.src = dest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user