From 8f81119159ac7ad19cef2e3e1a1416c34e42db14 Mon Sep 17 00:00:00 2001 From: reito Date: Thu, 14 Nov 2024 00:21:48 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Andrew Eisenberg --- extensions/ql-vscode/package.json | 2 +- extensions/ql-vscode/src/databases/local-databases-ui.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/ql-vscode/package.json b/extensions/ql-vscode/package.json index d441b85de29..0fb562f290b 100644 --- a/extensions/ql-vscode/package.json +++ b/extensions/ql-vscode/package.json @@ -841,7 +841,7 @@ }, { "command": "codeQL.chooseDatabaseFoldersParent", - "title": "CodeQL: Choose Folder to import all databases contained in it" + "title": "CodeQL: Choose Parent Folder and import all databases directly contained in it" }, { "command": "codeQL.chooseDatabaseArchive", diff --git a/extensions/ql-vscode/src/databases/local-databases-ui.ts b/extensions/ql-vscode/src/databases/local-databases-ui.ts index b0484a57093..2f720bbc1de 100644 --- a/extensions/ql-vscode/src/databases/local-databases-ui.ts +++ b/extensions/ql-vscode/src/databases/local-databases-ui.ts @@ -1041,7 +1041,7 @@ export class DatabaseUI extends DisposableObject { void showAndLogErrorMessage( this.app.logger, `Failed to import ${failures.length} database(s), successfully imported ${databases.length} database(s).`, - { fullMessage: `Failed folders to import:\n${failures.join("\n")}` }, + { fullMessage: `Failed to import ${failures.length} database(s), successfully imported ${databases.length} database(s). Failed folders to import:\n ${failures.join("\n ")}` }, ); } else if (databases.length === 0) { void showAndLogErrorMessage(