1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix downloading helm on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-03-09 09:03:44 -05:00
parent 95e7bfbf6e
commit 16012fb6cc

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())