Suppress database downloaded message when action canceled

This commit is contained in:
Emil Hessman
2020-07-23 06:04:44 +02:00
parent b6bd534857
commit 0d2b44cdba
2 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
- Fix error with choosing qlpack search path.
- Add the AST Viewer to inspect the QL AST of a source file in a database. Currently, only available for C/C++ sources.
- Fix pagination when there are no results.
- Suppress database downloaded from URL message when action canceled.
## 1.3.1 - 7 July 2020

View File

@@ -56,9 +56,11 @@ export async function promptImportInternetDatabase(
);
commands.executeCommand('codeQLDatabases.focus');
}
if (item) {
showAndLogInformationMessage(
'Database downloaded and imported successfully.'
);
}
} catch (e) {
showAndLogErrorMessage(e.message);
}