Skip to content

Commit c3f4a01

Browse files
Move DatabaseQuickPickItem to top level
1 parent e2e197f commit c3f4a01

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

extensions/ql-vscode/src/extension.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ interface DistributionUpdateConfig {
217217
allowAutoUpdating: boolean;
218218
}
219219

220+
interface DatabaseQuickPickItem extends QuickPickItem {
221+
databaseItem: DatabaseItem;
222+
}
223+
220224
const shouldUpdateOnNextActivationKey = "shouldUpdateOnNextActivation";
221225

222226
const codeQlVersionRange = DEFAULT_DISTRIBUTION_VERSION_RANGE;
@@ -950,9 +954,6 @@ async function activateWithInstalledDistribution(
950954
queryServerLogger,
951955
),
952956
);
953-
interface DatabaseQuickPickItem extends QuickPickItem {
954-
databaseItem: DatabaseItem;
955-
}
956957
ctx.subscriptions.push(
957958
commandRunnerWithProgress(
958959
"codeQL.runQueryOnMultipleDatabases",

0 commit comments

Comments
 (0)