diff --git a/lib/util/exec/buildpack.ts b/lib/util/exec/buildpack.ts index 443fa167b526b2..fa129ce60caf14 100644 --- a/lib/util/exec/buildpack.ts +++ b/lib/util/exec/buildpack.ts @@ -122,7 +122,7 @@ export function isDynamicInstall( ); return false; } - return !!toolConstraints?.every((toolConstraint) => + return !toolConstraints || toolConstraints.every((toolConstraint) => supportsDynamicInstall(toolConstraint.toolName) ); }