Don't await showAndLog...

This commit is contained in:
Dave Bartolomeo
2023-04-14 13:41:03 -04:00
parent 6fa775777c
commit ce2fecd506
2 changed files with 3 additions and 3 deletions

View File

@@ -69,13 +69,13 @@ export class QLDebugConfigurationProvider
): Promise<DebugConfiguration | null> {
const qlConfiguration = debugConfiguration as QLDebugConfiguration;
if (qlConfiguration.query === undefined) {
await showAndLogErrorMessage(
void showAndLogErrorMessage(
"No query was specified in the debug configuration.",
);
return null;
}
if (qlConfiguration.database === undefined) {
await showAndLogErrorMessage(
void showAndLogErrorMessage(
"No database was specified in the debug configuration.",
);
return null;

View File

@@ -316,7 +316,7 @@ export async function compileAndRunQueryAgainstDatabaseCore(
logger: Logger,
): Promise<CoreQueryResults> {
if (extensionPacks !== undefined && extensionPacks.length > 0) {
await showAndLogWarningMessage(
void showAndLogWarningMessage(
"Legacy query server does not support extension packs.",
);
}