Skip to content

Commit 82f4941

Browse files
Move shouldUpdateOnNextActivationKey to top level
1 parent 23e1715 commit 82f4941

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.`,

0 commit comments

Comments
 (0)