mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-12 14:21:33 +00:00
fix(config): preserve bash permission compatibility
Keep legacy tools.bash migration mapped to the single bash permission since the permission layer already expands it to pwsh and powershell. This preserves the backward-compatible config shape while retaining shell compatibility.
This commit is contained in:
parent
f21bf4a62a
commit
95577c75a3
1 changed files with 0 additions and 2 deletions
|
|
@ -588,8 +588,6 @@ export namespace Config {
|
|||
permission.edit = action
|
||||
} else if (tool === "bash") {
|
||||
permission.bash = action
|
||||
permission.pwsh = action
|
||||
permission.powershell = action
|
||||
} else {
|
||||
permission[tool] = action
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue