Bug fixes / v2.1.309
Fix PowerShell hooks failing open
CHANGELOG · original
Fixed hooks that run in PowerShell not blocking when the hook's program exits with code 2, and on Windows PreToolUse and PermissionRequest hooks with "shell": "powershell" failing open when Git for Windows isn't installed Open official changelog ↗ Related documentation
Background on the feature; see the changelog above for this specific change.