mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 21:16:06 +00:00
fix: external dir
This commit is contained in:
parent
320ebb35b7
commit
9425eee09f
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ export const BashTool = Tool.define("bash", async () => {
|
|||
? resolved.replace(/^\/([a-z])\//, (_, drive) => `${drive.toUpperCase()}:\\`).replace(/\//g, "\\")
|
||||
: resolved
|
||||
|
||||
await checkExternalDirectory(path.dirname(normalized))
|
||||
await checkExternalDirectory(normalized)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue