apply prettier to the modified file.

This commit is contained in:
Ryo KOBAYASHI 2025-12-28 13:58:42 +09:00
parent 9a55df4d2f
commit 8bbc8c99a0

View File

@ -238,7 +238,7 @@ export function transformLink(src: FullSlug, target: string, opts: TransformOpti
if (opts.strategy === "shortest") {
// if the file name is unique, then it's just the filename
const normalizedTarget = targetCanonical.normalize("NFC")
const normalizedTarget = targetCanonical.normalize("NFC")
const matchingFileNames = opts.allSlugs.filter((slug) => {
const parts = slug.split("/")
const fileName = parts.at(-1)