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:
LukeParkerDev 2026-04-03 13:43:37 +10:00
parent f21bf4a62a
commit 95577c75a3

View file

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