mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cherry Pick bug fixes from v5.5.0-beta.2 (#5429)
This commit is contained in:
1 parent
a61a455fad
commit
d09816aacf
5 files changed
+86
-13
No files matched your search
@@ -23,7 +23,7 @@ export async function execHelm(args: string[], { encoding, ...rest }: BaseEncodi
|
||||
try {
|
||||
const opts = { ...options };
|
||||
|
||||
opts.env ??= process.env;
|
||||
opts.env ??= { ...process.env };
|
||||
|
||||
if (!opts.env.HTTPS_PROXY && UserStore.getInstance().httpsProxy) {
|
||||
opts.env.HTTPS_PROXY = UserStore.getInstance().httpsProxy;
|
||||
|
||||
@@ -156,7 +156,7 @@ export class Kubectl {
|
||||
try {
|
||||
const args = [
|
||||
"version",
|
||||
"--client", "true",
|
||||
"--client",
|
||||
"--output", "json",
|
||||
];
|
||||
const { stdout } = await promiseExecFile(path, args);
|
||||
|
||||
Reference in new issue
Block a user