Skip to content

Conversation

@matejsemancik
Copy link
Member

Summary

  • Fixed issue where xargs fails when branch names contain unmatched quotes
  • Replaced xargs with bash parameter expansion for whitespace trimming in extract-issue-keys.sh:12-13
  • Added test cases for single and double quote handling

Test plan

  • All 27 tests pass in test_extract-issue-keys.bats
  • Specifically verified "extract-issue-keys: handles single quotes" and "extract-issue-keys: handles double quotes" tests

🤖 Generated with Claude Code

Replace xargs with bash parameter expansion for trimming whitespace to avoid failures when branch names contain unmatched quotes. Add test cases for single and double quote handling.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@matejsemancik matejsemancik requested a review from ssestak January 21, 2026 12:42
@matejsemancik matejsemancik merged commit 75f4a28 into main Jan 21, 2026
2 checks passed
@matejsemancik matejsemancik deleted the fix/extract-jira-keys-quotes branch January 21, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants