Skip to content

Commit

Permalink
Fix version constraint
Browse files Browse the repository at this point in the history
Non-destructive upgrades only exist in versions >= 2.4.2
  • Loading branch information
aeisenberg committed Feb 2, 2021
1 parent 4e94f70 commit 5079abd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions extensions/ql-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [UNRELEASED]

- Fix version constraint for flagging CLI support of non-destructive updates [#744](https://github.com/github/vscode-codeql/pull/744)

## 1.4.1 - 29 January 2021

- Reword the telemetry modal dialog box. [#738](https://github.com/github/vscode-codeql/pull/738)
Expand Down
2 changes: 1 addition & 1 deletion extensions/ql-vscode/src/upgrades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MAX_UPGRADE_MESSAGE_LINES = 10;
* resolving upgrades. We check for a version of codeql that has all three features.
*/
export async function hasNondestructiveUpgradeCapabilities(qs: qsClient.QueryServerClient): Promise<boolean> {
return semver.gte(await qs.cliServer.getVersion(), '2.4.1');
return semver.gte(await qs.cliServer.getVersion(), '2.4.2');
}


Expand Down

0 comments on commit 5079abd

Please sign in to comment.