fix: external dir

pull/5140/head
Aiden Cline 2025-12-06 23:23:31 -06:00
parent 320ebb35b7
commit 9425eee09f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}
}