Skip to content

Commit

Permalink
workaround: disable streaming when downloading codeql bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
NlightNFotis committed Nov 12, 2024
1 parent 5cb4249 commit e6dd404
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/tools-download.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/tools-download.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/tools-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export async function downloadAndExtract(

const compressionMethod = tar.inferCompressionMethod(codeqlURL);

if (compressionMethod === "zstd" && process.platform === "linux") {
// TODO: Re-enable streaming when we have a more reliable way to respect proxy settings.
// eslint-disable-next-line no-constant-condition, no-constant-binary-expression
if (false && compressionMethod === "zstd" && process.platform === "linux") {
logger.info(`Streaming the extraction of the CodeQL bundle.`);

const toolsInstallStart = performance.now();
Expand Down

0 comments on commit e6dd404

Please sign in to comment.