mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
Review content may contain double quotes, $VAR, backticks, etc. that break double-quoted shell arguments or trigger run_shell_command security rejection. Replace direct string interpolation with a two-step approach: 1. Write body to temp file via quoted heredoc (<<'BODYEOF') which prevents ALL shell expansion 2. Reference file with -F body=@/tmp/pr-comment.txt in gh api calls and --body-file in gh pr review calls Also update Step 5 to clean up all temp files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| vendor | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||