Extract constant for first std-compressed version
This commit is contained in:
parent
67b30f7c39
commit
bc68dc9d95
6 changed files with 15 additions and 5 deletions
2
lib/setup-codeql.js
generated
2
lib/setup-codeql.js
generated
|
|
@ -563,7 +563,7 @@ function sanitizeUrlForStatusReport(url) {
|
|||
}
|
||||
async function useZstdBundle(cliVersion, features, tarSupportsZstd) {
|
||||
return (tarSupportsZstd &&
|
||||
semver.gte(cliVersion, "2.19.0") &&
|
||||
semver.gte(cliVersion, feature_flags_1.CODEQL_VERSION_ZSTD_BUNDLE) &&
|
||||
!!(await features.getValue(feature_flags_1.Feature.ZstdBundle)));
|
||||
}
|
||||
//# sourceMappingURL=setup-codeql.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue