Only fall back when tools not overridden

This commit is contained in:
Henry Mercer
2024-08-13 14:12:17 +01:00
parent d277fb19ed
commit 6ece038d8b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ async function setupCodeQLBundlePreferringZstd(
): Promise<setupCodeql.SetupCodeQLResult> {
let zstdError: unknown = undefined;
if (await features.getValue(Feature.ZstdBundle)) {
if (!toolsInput && (await features.getValue(Feature.ZstdBundle))) {
try {
return await setupCodeql.setupCodeQLBundle(
toolsInput,