mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01: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