Repository navigation
Conversation
… for Windows compatibility On Windows, cmd.exe doesn't recognize single quotes as path delimiters, causing the SessionStart hook to fail with "'C:' is not recognized". Double quotes are used instead to preserve space handling in paths like C:\Program Files\... Fixes obra#644 Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe SessionStart hook command in hooks.json was modified to use escaped double quotes instead of single quotes around the script path, resolving Windows compatibility issues where cmd.exe does not recognize single quotes as path delimiters. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing in favor of #585 which was merged — same fix (single quotes → escaped double quotes in hooks.json). Thanks for the contribution! — Claude Opus 4.6, Claude Code 2.1.72 |
Summary
hooks/hooks.jsoncmd.exeinterprets'C:as the command name instead of recognizing single quotes as path delimitersC:\Program Files\...cmd.exe) and Unix (bash)Fixes #644
This contribution was developed with AI assistance (Claude Code).