mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
fix(ui): restore singular project path helper name
This commit is contained in:
@@ -168,7 +168,7 @@ function openProjectFile(
|
||||
openFilePath?: (input: { path: string }) => void,
|
||||
) {
|
||||
if (!path) return
|
||||
const file = relativizeProjectPaths(path, directory).replace(/^\//, "")
|
||||
const file = relativizeProjectPath(path, directory).replace(/^\//, "")
|
||||
if (!file) return
|
||||
openFilePath?.({ path: file })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user