Skip to content

fix(cli): parse strings ending in escaped backslashes - #1005

Closed
hamedrabah wants to merge 1 commit into
profullstack:masterfrom
hamedrabah:fix-payment-config-even-backslashes
Closed

fix(cli): parse strings ending in escaped backslashes#1005
hamedrabah wants to merge 1 commit into
profullstack:masterfrom
hamedrabah:fix-payment-config-even-backslashes

Conversation

@hamedrabah

Copy link
Copy Markdown
Contributor

Summary

  • treat a quote as escaped only when it is preceded by an odd number of backslashes
  • keep payment provider parsing intact when config strings end in a literal backslash
  • add a regression test covering a Windows-style output directory

Verification

  • ./node_modules/.bin/vitest run packages/cli/src/commands/config.test.ts (7 tests)
  • ./node_modules/.bin/tsc -p packages/cli/tsconfig.json --noEmit
  • git diff --check

@ralyodio ralyodio closed this Aug 31, 2026
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.

2 participants