Skip to content

Commit f2c525b

Browse files
author
Dave Bartolomeo
committed
Fix references to renamed type
1 parent afcc05f commit f2c525b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ql-vscode/src/qlpack-discovery.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { EventEmitter, Event, Uri, WorkspaceFolder, RelativePattern } from 'vscode';
22
import { MultiFileSystemWatcher } from 'semmle-vscode-utils';
3-
import { CodeQLCliServer, ResolvedQLPacks } from './cli';
3+
import { CodeQLCliServer, QlpacksInfo } from './cli';
44
import { Discovery } from './discovery';
55

66
export interface QLPack {
@@ -11,7 +11,7 @@ export interface QLPack {
1111
/**
1212
* Service to discover all available QL packs in a workspace folder.
1313
*/
14-
export class QLPackDiscovery extends Discovery<ResolvedQLPacks> {
14+
export class QLPackDiscovery extends Discovery<QlpacksInfo> {
1515
private readonly _onDidChangeQLPacks = this.push(new EventEmitter<void>());
1616
private readonly watcher = this.push(new MultiFileSystemWatcher());
1717
private _qlPacks: readonly QLPack[] = [];
@@ -38,12 +38,12 @@ export class QLPackDiscovery extends Discovery<ResolvedQLPacks> {
3838
this.refresh();
3939
}
4040

41-
protected discover(): Promise<ResolvedQLPacks> {
41+
protected discover(): Promise<QlpacksInfo> {
4242
// Only look for QL packs in this workspace folder.
4343
return this.cliServer.resolveQlpacks([this.workspaceFolder.uri.fsPath], []);
4444
}
4545

46-
protected update(results: ResolvedQLPacks): void {
46+
protected update(results: QlpacksInfo): void {
4747
const qlPacks: QLPack[] = [];
4848
for (const id in results) {
4949
qlPacks.push(...results[id].map(fsPath => {

0 commit comments

Comments
 (0)