docs: share bugs

pull/277/head
Jay V 2025-06-20 15:47:34 -04:00
parent 4df40e0d9b
commit 0d2f8e175a
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ function scrollToAnchor(id: string) {
}
function stripWorkingDirectory(filePath: string, workingDir?: string) {
if (workingDir === undefined) return filePath
if (filePath === undefined || workingDir === undefined) return filePath
const prefix = workingDir.endsWith("/") ? workingDir : workingDir + "/"