mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user