Unable to upgrade an old version of the cli

Open
#443 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript, vscode
Domain
cli, tooling

Research direction

Start by reproducing the failure with an extremely old CodeQL CLI and the VS Code command "CodeQL: Check for CLI updates". Determine which pre-codeql-version CLI response causes the update check to fail; done means the extension can check for updates and update the CLI successfully for that older version.

Written by the indexing model from the issue text.

Description

bug VSCode

Describe the bug

When a user has an extremely old version of the cli, before the codeql version subcommand was implemented, there is an error when trying to check the version in the extension. Hence, the cli cannot be updated.

To Reproduce

Install a really old version of the cli and then run CodeQL: Check for CLI updates. It will fail to run. (Not sure what cli version causes this.)

Expected behavior

The CLI should be updated.

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 6h
Merged PRs (30d)
29

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.