Suppress database downloaded message when action canceled
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -56,9 +56,11 @@ export async function promptImportInternetDatabase(
|
||||
);
|
||||
commands.executeCommand('codeQLDatabases.focus');
|
||||
}
|
||||
showAndLogInformationMessage(
|
||||
'Database downloaded and imported successfully.'
|
||||
);
|
||||
if (item) {
|
||||
showAndLogInformationMessage(
|
||||
'Database downloaded and imported successfully.'
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
showAndLogErrorMessage(e.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user