From c9657a33e2b9776d6f727e4cc20c7aee8c5fc062 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 5 Aug 2022 11:59:52 +0200 Subject: [PATCH] fix(buildpack): allow `undefined` `toolConstraints` for install mode --- lib/util/exec/buildpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); }