From 16012fb6cc2ec3399424df7892317d87921866c3 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Wed, 9 Mar 2022 09:03:44 -0500 Subject: [PATCH] Fix downloading helm on windows Signed-off-by: Sebastian Malton --- build/download_binaries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/download_binaries.ts b/build/download_binaries.ts index ef62d2f972..edae0e4535 100644 --- a/build/download_binaries.ts +++ b/build/download_binaries.ts @@ -137,7 +137,7 @@ class HelmDownloader extends BinaryDownloader { }); extracting.on("entry", (headers, stream, next) => { - if (headers.name.endsWith("/helm")) { + if (headers.name.endsWith(this.args.binaryName)) { stream .pipe(file) .once("finish", () => next())