File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -217,6 +217,8 @@ interface DistributionUpdateConfig {
217217 allowAutoUpdating : boolean ;
218218}
219219
220+ const shouldUpdateOnNextActivationKey = "shouldUpdateOnNextActivation" ;
221+
220222// This is the minimum version of vscode that we _want_ to support. We want to update the language server library, but that
221223// requires 1.67 or later. If we change the minimum version in the package.json, then anyone on an older version of vscode
222224// silently be unable to upgrade. So, the solution is to first bump the minimum version here and release. Then
@@ -262,8 +264,6 @@ export async function activate(
262264 ctx ,
263265 ) ;
264266
265- const shouldUpdateOnNextActivationKey = "shouldUpdateOnNextActivation" ;
266-
267267 registerErrorStubs ( [ checkForUpdatesCommand ] , ( command ) => async ( ) => {
268268 void showAndLogErrorMessage (
269269 `Can't execute ${ command } : waiting to finish loading CodeQL CLI.` ,
You can’t perform that action at this time.
0 commit comments