mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 13:40:23 +08:00
Add telemetry for compression method
This commit is contained in:
1
lib/codeql.js
generated
1
lib/codeql.js
generated
@@ -138,6 +138,7 @@ async function setupCodeQLBundlePreferringZstd(toolsInput, apiDetails, tempDir,
|
||||
async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger, checkVersion) {
|
||||
try {
|
||||
const { codeqlFolder, toolsDownloadStatusReport, toolsSource, toolsVersion, } = await setupCodeQLBundlePreferringZstd(toolsInput, apiDetails, tempDir, variant, defaultCliVersion, features, logger);
|
||||
logger.debug(`Bundle download status report: ${JSON.stringify(toolsDownloadStatusReport)}`);
|
||||
let codeqlCmd = path.join(codeqlFolder, "codeql", "codeql");
|
||||
if (process.platform === "win32") {
|
||||
codeqlCmd += ".exe";
|
||||
|
||||
Reference in New Issue
Block a user