Fix downloading helm on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-03-09 09:03:44 -05:00
1 parent 95e7bfbf6e
commit 16012fb6cc
1 file changed
+1 -1
+1 -1
View File
@@ -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())