Skip to content

autoUpdate in config.json is ignored #2615

@czf

Description

@czf

Describe the bug

I think starting with 1.0.4 the auto-update setting in config.json is no longer working.

Affected version

1.0.4

Steps to reproduce the behavior

  1. start with 1.0.3
  2. update config.json to have
    "auto_update": false,
    "autoUpdate": false,
  3. start copilot version stays at 1.0.3
  4. manually update to 1.0.4
  5. start copilot and version is automatically updated latest

Expected behavior

version stays at specific version

Additional context

windows
x86_64
Windows Terminal

the --no-auto-update still works
the COPILOT_AUTO_UPDATE environment variable set to false still works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions