Skip to content

Commit

Permalink
fix: unify naming
Browse files Browse the repository at this point in the history
  • Loading branch information
reitowo committed Nov 13, 2024
1 parent db38f72 commit ce0b25f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extensions/ql-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@
"title": "CodeQL: Choose Database from Folder"
},
{
"command": "codeQL.chooseMultipleDatabaseFolder",
"command": "codeQL.chooseDatabaseFoldersParent",
"title": "CodeQL: Choose Folder to import all databases contained in it"
},
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/ql-vscode/src/common/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export type LanguageSelectionCommands = {
export type LocalDatabasesCommands = {
// Command palette commands
"codeQL.chooseDatabaseFolder": () => Promise<void>;
"codeQL.chooseMultipleDatabaseFolder": () => Promise<void>;
"codeQL.chooseDatabaseFoldersParent": () => Promise<void>;
"codeQL.chooseDatabaseArchive": () => Promise<void>;
"codeQL.chooseDatabaseInternet": () => Promise<void>;
"codeQL.chooseDatabaseGithub": () => Promise<void>;
Expand Down
6 changes: 3 additions & 3 deletions extensions/ql-vscode/src/databases/local-databases-ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ export class DatabaseUI extends DisposableObject {
"codeQL.getCurrentDatabase": this.handleGetCurrentDatabase.bind(this),
"codeQL.chooseDatabaseFolder":
this.handleChooseDatabaseFolderFromPalette.bind(this),
"codeQL.chooseMultipleDatabaseFolder":
this.handleChooseMultipleDatabaseFolderFromPalette.bind(this),
"codeQL.chooseDatabaseFoldersParent":
this.handleChooseDatabaseFoldersParentFromPalette.bind(this),
"codeQL.chooseDatabaseArchive":
this.handleChooseDatabaseArchiveFromPalette.bind(this),
"codeQL.chooseDatabaseInternet":
Expand Down Expand Up @@ -363,7 +363,7 @@ export class DatabaseUI extends DisposableObject {
);
}

private async handleChooseMultipleDatabaseFolderFromPalette(): Promise<void> {
private async handleChooseDatabaseFoldersParentFromPalette(): Promise<void> {
return withProgress(
async (progress) => {
await this.chooseDatabasesParentFolder(progress);
Expand Down

0 comments on commit ce0b25f

Please sign in to comment.