mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 02:01:27 +00:00
Use the CLI version when caching the bundle in telemetry too
This commit is contained in:
2
lib/codeql.test.js
generated
2
lib/codeql.test.js
generated
@@ -187,7 +187,7 @@ function mockApiDetails(apiDetails) {
|
||||
const result = await codeql.setupCodeQL(url, sampleApiDetails, tmpDir, util.GitHubVariant.DOTCOM, false, SAMPLE_DEFAULT_CLI_VERSION, (0, logging_1.getRunnerLogger)(true), false);
|
||||
t.assert(releaseApiMock.isDone(), "Releases API should have been called");
|
||||
t.assert(toolcache.find("CodeQL", "2.10.0-20200610"));
|
||||
t.deepEqual(result.toolsVersion, "0.0.0-20200610");
|
||||
t.deepEqual(result.toolsVersion, "2.10.0");
|
||||
});
|
||||
});
|
||||
for (const { isCached, tagName, toolcacheCliVersion } of [
|
||||
|
||||
Reference in New Issue
Block a user