summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2025-12-01 16:18:56 -0800
committerJesse Vincent <jesse@fsck.com>2025-12-01 16:18:56 -0800
commit8462c20cce0ca37ff747d80fde4697fd45a98189 (patch)
tree16d95a59bd8844d6e188780d33469746d1d9472f
parenta0c1e73a1d016b3967f2fa107db995ded9dcbf29 (diff)
Release v3.6.1: Fix Windows arg forwarding in polyglot wrapperv3.6.1
- Add validation for missing script name - Forward up to 8 additional arguments to bash on Windows - Fixes CodeRabbit review feedback from #134
-rw-r--r--.claude-plugin/plugin.json2
-rwxr-xr-xhooks/run-hook.cmd6
2 files changed, 6 insertions, 2 deletions
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index b3d30f4..5d411e9 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "superpowers",
"description": "Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques",
- "version": "3.6.0",
+ "version": "3.6.1",
"author": {
"name": "Jesse Vincent",
"email": "jesse@fsck.com"
diff --git a/hooks/run-hook.cmd b/hooks/run-hook.cmd
index 9b3aa75..33d2e2a 100755
--- a/hooks/run-hook.cmd
+++ b/hooks/run-hook.cmd
@@ -4,7 +4,11 @@ REM Polyglot wrapper: runs .sh scripts cross-platform
REM Usage: run-hook.cmd <script-name> [args...]
REM The script should be in the same directory as this wrapper
-"C:\Program Files\Git\bin\bash.exe" -l "%~dp0%~1"
+if "%~1"=="" (
+ echo run-hook.cmd: missing script name >&2
+ exit /b 1
+)
+"C:\Program Files\Git\bin\bash.exe" -l "%~dp0%~1" %2 %3 %4 %5 %6 %7 %8 %9
exit /b
CMDBLOCK