Skip to content

Commit 06d2284

Browse files
committed
Rename getQueryById to getRemoteQueryById
1 parent 0133cd7 commit 06d2284

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/src/query-history.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ export class QueryHistoryManager extends DisposableObject {
680680
return this.treeDataProvider.getCurrent();
681681
}
682682

683-
getQueryById(queryId: string): RemoteQueryHistoryItem | undefined {
683+
getRemoteQueryById(queryId: string): RemoteQueryHistoryItem | undefined {
684684
return this.treeDataProvider.allHistory.find(i => i.t === 'remote' && i.queryId === queryId) as RemoteQueryHistoryItem;
685685
}
686686

extensions/ql-vscode/src/remote-queries/export-results.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function exportRemoteQueryResults(
2929
): Promise<void> {
3030
let queryHistoryItem: RemoteQueryHistoryItem;
3131
if (queryId) {
32-
const query = queryHistoryManager.getQueryById(queryId);
32+
const query = queryHistoryManager.getRemoteQueryById(queryId);
3333
if (!query) {
3434
void logger.log(`Could not find query with id ${queryId}`);
3535
throw new Error('There was an error when trying to retrieve variant analysis information');

0 commit comments

Comments
 (0)