mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
lint plus simplification
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
8dee604fd0
commit
fbb1ca5928
@ -17,9 +17,7 @@ export async function execHelm(args: string[], options?: BaseEncodingOptions & E
|
||||
try {
|
||||
const opts = { ...options };
|
||||
|
||||
if (!opts.env) {
|
||||
opts.env = process.env
|
||||
}
|
||||
opts.env ??= process.env;
|
||||
|
||||
if (!opts.env.HTTPS_PROXY && UserStore.getInstance().httpsProxy) {
|
||||
opts.env.HTTPS_PROXY = UserStore.getInstance().httpsProxy;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user