mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-26 02:24:43 +00:00
docs: share bugs
This commit is contained in:
@@ -86,7 +86,7 @@ function scrollToAnchor(id: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function stripWorkingDirectory(filePath: string, workingDir?: 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 + "/"
|
const prefix = workingDir.endsWith("/") ? workingDir : workingDir + "/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user