mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
test: fix bash test
This commit is contained in:
parent
76186d19f3
commit
7aa1dbe873
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ export const BashTool = Tool.define("bash", async () => {
|
|||
for (const arg of command.slice(1)) {
|
||||
if (arg.startsWith("-") || (command[0] === "chmod" && arg.startsWith("+"))) continue
|
||||
const resolved = await $`realpath ${arg}`
|
||||
.cwd(cwd)
|
||||
.quiet()
|
||||
.nothrow()
|
||||
.text()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue