github OthmanAdi/planning-with-files v2.18.3
v2.18.3 - Windows Hook Fixes

latest releases: v2.41.0, v2.40.1, v2.40.0...
2 months ago

Fixed

Two Windows compatibility fixes by @raykuo998

Stop hook fails under Git Bash on Windows (PR #86)

The Stop hook YAML command: | multiline block was not reliably parsed by Git Bash. The shell received the first line as a command name rather than a variable assignment, crashing the hook before it could do anything.

Replaced 25-line OS detection scripts with a single-line implicit platform fallback chain: powershell.exe first, sh as fallback. Cleaner, more maintainable, and works correctly on all platforms. Applied to all 7 SKILL.md variants with Stop hooks.

check-complete.ps1 failing on PowerShell 5.1 (PR #88)

Special characters inside double-quoted Write-Host strings caused parse errors in Windows PowerShell 5.1: square brackets as array index expressions, parentheses as subexpressions, and the em-dash breaking the parser in comments. Switched to single-quoted strings with explicit concatenation across all 12 platform copies.

Contributors

Full Changelog

https://github.com/OthmanAdi/planning-with-files/blob/master/CHANGELOG.md

Don't miss a new planning-with-files release

NewReleases is sending notifications on new releases.