Remove resolveLibraryPath method

This commit is contained in:
Koen Vlaswinkel
2023-12-21 12:20:31 +01:00
parent 7554c415af
commit c14fa63321

View File

@@ -720,29 +720,6 @@ export class CodeQLCliServer implements Disposable {
); );
} }
/**
* Resolve the library path and dbscheme for a query.
* @param workspaces The current open workspaces
* @param queryPath The path to the query
*/
async resolveLibraryPath(
workspaces: string[],
queryPath: string,
silent = false,
): Promise<QuerySetup> {
const subcommandArgs = [
"--query",
queryPath,
...this.getAdditionalPacksArg(workspaces),
];
return await this.runJsonCodeQlCliCommand<QuerySetup>(
["resolve", "library-path"],
subcommandArgs,
"Resolving library paths",
{ silent },
);
}
/** /**
* Resolves the language for a query. * Resolves the language for a query.
* @param queryUri The URI of the query * @param queryUri The URI of the query