mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
docs: share bugs
This commit is contained in:
parent
4df40e0d9b
commit
0d2f8e175a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue