Skip to content

Commit fd7c063

Browse files
committed
Debug zstd bundle extraction errors
1 parent 1c15a48 commit fd7c063

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

lib/tools-download.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/tools-download.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools-download.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ export async function downloadAndExtract(
148148
)}).`,
149149
);
150150

151+
// Add the following log to display the size of the downloaded bundle
152+
const bundleSize = fs.statSync(archivedBundlePath).size;
153+
logger.info(`Size of the downloaded CodeQL bundle: ${bundleSize} bytes`);
154+
151155
let extractionDurationMs: number;
152156

153157
try {

0 commit comments

Comments
 (0)