Skip to content

Commit 8462c20

Browse files
committed
Release v3.6.1: Fix Windows arg forwarding in polyglot wrapper
- Add validation for missing script name - Forward up to 8 additional arguments to bash on Windows - Fixes CodeRabbit review feedback from #134
1 parent a0c1e73 commit 8462c20

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superpowers",
33
"description": "Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques",
4-
"version": "3.6.0",
4+
"version": "3.6.1",
55
"author": {
66
"name": "Jesse Vincent",
77
"email": "[email protected]"

hooks/run-hook.cmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ REM Polyglot wrapper: runs .sh scripts cross-platform
44
REM Usage: run-hook.cmd <script-name> [args...]
55
REM The script should be in the same directory as this wrapper
66

7-
"C:\Program Files\Git\bin\bash.exe" -l "%~dp0%~1"
7+
if "%~1"=="" (
8+
echo run-hook.cmd: missing script name >&2
9+
exit /b 1
10+
)
11+
"C:\Program Files\Git\bin\bash.exe" -l "%~dp0%~1" %2 %3 %4 %5 %6 %7 %8 %9
812
exit /b
913
CMDBLOCK
1014

0 commit comments

Comments
 (0)