mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
docs: share bugs
This commit is contained in:
parent
4df40e0d9b
commit
0d2f8e175a
@ -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 + "/"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user