Skip to content

fix duplicate --settings error#1365

Open
0xpep wants to merge 1 commit into
musistudio:mainfrom
0xpep:fix-duplicate-settings-error
Open

fix duplicate --settings error#1365
0xpep wants to merge 1 commit into
musistudio:mainfrom
0xpep:fix-duplicate-settings-error

Conversation

@0xpep
Copy link
Copy Markdown

@0xpep 0xpep commented Apr 26, 2026

Fixes an issue where duplicate --settings arguments would cause errors in the CLI code command utility.

The fix properly merges existing --settings arguments with new settingsFlag instead of duplicating them.

mcwalrus pushed a commit to mcwalrus/claude-code-router that referenced this pull request Apr 28, 2026
When --settings is already present in args, merge it into settingsFlag
and replace the value in-place rather than appending a second flag.

Fixes musistudio#1365 (debug logs stripped)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant