fix: add # to sanitize_branch_name to prevent shebang issues#44
Conversation
# in folder names breaks Python venv shebang lines because shell interprets # as comment start, truncating the path. Closes coderabbitai#43
WalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (6)lib/**/*.sh📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.sh📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
**/*.{bash,fish,sh}📄 CodeRabbit inference engine (.github/instructions/sh.instructions.md)
Files:
{bin/gtr,lib/**/*.sh,adapters/**/*.sh}📄 CodeRabbit inference engine (.github/instructions/testing.instructions.md)
Files:
**/lib/*.sh📄 CodeRabbit inference engine (CLAUDE.md)
Files:
lib/*.sh📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🔇 Additional comments (1)
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 |
|
LGTM! Thanks for the fix |
Summary
#to the list of characters sanitized in branch names#appears in folder pathsRelated Issue
Closes #43
Changes
lib/core.sh-sanitize_branch_name():Test performed
feature/issue#123feature-issue-123Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.