Merge branch 'dbartol/debug-adapter' of https://github.com/github/vscode-codeql into dbartol/debug-adapter

This commit is contained in:
Dave Bartolomeo
2023-04-14 12:47:39 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ export class QLDebugConfigurationProvider
debugConfiguration: DebugConfiguration,
_token?: CancellationToken,
): Promise<DebugConfiguration | null> {
const qlConfiguration = <QLDebugConfiguration>debugConfiguration;
const qlConfiguration = debugConfiguration as QLDebugConfiguration;
if (qlConfiguration.query === undefined) {
await showAndLogErrorMessage(
"No query was specified in the debug configuration.",

View File

@@ -636,7 +636,7 @@ export class DatabaseManager extends DisposableObject {
* Adds a {@link DatabaseItem} to the list of open databases, if that database is not already on
* the list.
*
* Typically, the item will have been created by {@link createOrOpenDatabaseItem}.
* Typically, the item will have been created by {@link createOrOpenDatabaseItem} or {@link openDatabase}.
*/
public async addExistingDatabaseItem(
databaseItem: DatabaseItem,