Skip to content

[Bug] Roo code always inserts setting even if it's the same as the default setting #2625

@wenfangdu

Description

@wenfangdu

App Version

3.11.16

API Provider

VS Code LM API

Model Used

Claude 3.5

Actual vs. Expected Behavior

Roo code inserts the following setting to vscode settings.json every time it's used, but the inserted setting is the same as the default setting, hence, no need to insert it into the user's settings.json:

  "roo-cline.allowedCommands": [
    "npm test",
    "npm install",
    "tsc",
    "git log",
    "git diff",
    "git show"
  ],

Detailed Steps to Reproduce

Uninstall roo code and reinstall and do some agent coding that requires running terminal commands.

Relevant API Request Output

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions