Skip to content

Commit 8daa92a

Browse files
committed
Merge branch 'main' into aeisenberg/analysis-results-on-restart
2 parents 6114f6a + 2d17267 commit 8daa92a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as path from 'path';
2-
import * as fs from 'fs-extra';
32
import {
43
commands,
54
Disposable,
@@ -777,7 +776,7 @@ export class QueryHistoryManager extends DisposableObject {
777776
}
778777
}
779778
}
780-
779+
781780
private warnNoEvalLog() {
782781
void showAndLogWarningMessage('No evaluator log is available for this run. Perhaps it failed before evaluation, or you are running with a version of CodeQL before ' + CliVersionConstraint.CLI_VERSION_WITH_PER_QUERY_EVAL_LOG + '?');
783782
}

extensions/ql-vscode/src/vscode-tests/no-workspace/remote-query-history.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ describe('Remote queries and query history manager', function() {
337337
// Load remoteQueryResult0.analysisSummaries[1] into memory
338338
await arm.downloadAnalysisResults(remoteQueryResult0.analysisSummaries[1], () => Promise.resolve());
339339

340-
expect(await (arm as any).isDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[0])).to.be.true;
340+
expect(await (arm as any).isAnalysisDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[0])).to.be.true;
341341

342342
// in memory
343-
expect(await (arm as any).isDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[1])).to.be.false;
343+
expect(await (arm as any).isAnalysisDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[1])).to.be.false;
344344

345345
// not downloaded
346-
expect(await (arm as any).isDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[2])).to.be.false;
346+
expect(await (arm as any).isAnalysisDownloadedNotInMemory(remoteQueryResult0.analysisSummaries[2])).to.be.false;
347347
});
348348

349349
it('should load downloaded artifacts', async () => {

0 commit comments

Comments
 (0)