Skip to content

Commit a5fc963

Browse files
committed
Rename selectExistingDatabase -> selectOrDownloadDatabase
Make it clear that this method can also download a database if it fails to find one.
1 parent d3ef294 commit a5fc963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/src/skeleton-query-wizard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class SkeletonQueryWizard {
6565
// just create a new example query file in skeleton QL pack
6666
await this.createExampleFile();
6767
// select existing database for language
68-
await this.selectExistingDatabase();
68+
await this.selectOrDownloadDatabase();
6969
} else {
7070
// generate a new skeleton QL pack with query file
7171
await this.createQlPack();
@@ -216,7 +216,7 @@ export class SkeletonQueryWizard {
216216
);
217217
}
218218

219-
private async selectExistingDatabase() {
219+
private async selectOrDownloadDatabase() {
220220
if (this.qlPackStoragePath === undefined) {
221221
throw new Error("QL Pack storage path is undefined");
222222
}

0 commit comments

Comments
 (0)