# This is a combination of 2 commits.

# This is the 1st commit message:

Upgrade to electron 12 and Node 14

Signed-off-by: Sebastian Malton <sebastian@malton.name>

# This is the commit message #2:

Fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-08-23 15:54:28 -04:00
1 parent 4219f3c907
commit ac2ce1ba57
47 files changed
+989 -1049

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ import md5File from "md5-file";
import requestPromise from "request-promise-native";
import { ensureDir, pathExists } from "fs-extra";
import path from "path";
import { noop } from "../src/common/utils";
import { noop } from "lodash";
class KubectlDownloader {
public kubectlVersion: string;
@@ -117,7 +117,7 @@ class KubectlDownloader {
}
const downloadVersion = packageInfo.config.bundledKubectlVersion;
const baseDir = path.join(process.env.INIT_CWD, "binaries", "client");
const baseDir = path.join(__dirname, "..", "binaries", "client");
const downloads = [
{ platform: "linux", arch: "amd64", target: path.join(baseDir, "linux", "x64", "kubectl") },
{ platform: "darwin", arch: "amd64", target: path.join(baseDir, "darwin", "x64", "kubectl") },