Skip to content

Commit 775e6dc

Browse files
committed
fix: unify naming
1 parent c84331e commit 775e6dc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@
840840
"title": "CodeQL: Choose Database from Folder"
841841
},
842842
{
843-
"command": "codeQL.chooseMultipleDatabaseFolder",
843+
"command": "codeQL.chooseDatabaseFoldersParent",
844844
"title": "CodeQL: Choose Folder to import all databases contained in it"
845845
},
846846
{

extensions/ql-vscode/src/common/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export type LanguageSelectionCommands = {
211211
export type LocalDatabasesCommands = {
212212
// Command palette commands
213213
"codeQL.chooseDatabaseFolder": () => Promise<void>;
214-
"codeQL.chooseMultipleDatabaseFolder": () => Promise<void>;
214+
"codeQL.chooseDatabaseFoldersParent": () => Promise<void>;
215215
"codeQL.chooseDatabaseArchive": () => Promise<void>;
216216
"codeQL.chooseDatabaseInternet": () => Promise<void>;
217217
"codeQL.chooseDatabaseGithub": () => Promise<void>;

extensions/ql-vscode/src/databases/local-databases-ui.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ export class DatabaseUI extends DisposableObject {
269269
"codeQL.getCurrentDatabase": this.handleGetCurrentDatabase.bind(this),
270270
"codeQL.chooseDatabaseFolder":
271271
this.handleChooseDatabaseFolderFromPalette.bind(this),
272-
"codeQL.chooseMultipleDatabaseFolder":
273-
this.handleChooseMultipleDatabaseFolderFromPalette.bind(this),
272+
"codeQL.chooseDatabaseFoldersParent":
273+
this.handleChooseDatabaseFoldersParentFromPalette.bind(this),
274274
"codeQL.chooseDatabaseArchive":
275275
this.handleChooseDatabaseArchiveFromPalette.bind(this),
276276
"codeQL.chooseDatabaseInternet":
@@ -363,7 +363,7 @@ export class DatabaseUI extends DisposableObject {
363363
);
364364
}
365365

366-
private async handleChooseMultipleDatabaseFolderFromPalette(): Promise<void> {
366+
private async handleChooseDatabaseFoldersParentFromPalette(): Promise<void> {
367367
return withProgress(
368368
async (progress) => {
369369
await this.chooseDatabasesParentFolder(progress);

0 commit comments

Comments
 (0)