mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Electron v15.5.7 (#5562)
* electron v15.5.7 Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * change pipelines to use node 16 Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * bump @types/node Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * update yarn.lock Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * use fs.ObjectEncodingOptions Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
e1152790c3
commit
db65a89ee0
14 files changed
+44
-38
No files matched your search
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import { promiseExecFile } from "../../common/utils/promise-exec";
|
||||
import type { BaseEncodingOptions } from "fs";
|
||||
import type { ObjectEncodingOptions } from "fs";
|
||||
import type { ExecFileOptions, ExecFileOptionsWithStringEncoding } from "child_process";
|
||||
import { helmBinaryPath } from "../../common/vars";
|
||||
import { UserStore } from "../../common/user-store";
|
||||
@@ -14,7 +14,7 @@ import { isChildProcessError } from "../../common/utils";
|
||||
* ExecFile the bundled helm CLI
|
||||
* @returns STDOUT
|
||||
*/
|
||||
export async function execHelm(args: string[], { encoding, ...rest }: BaseEncodingOptions & ExecFileOptions = {}): Promise<string> {
|
||||
export async function execHelm(args: string[], { encoding, ...rest }: ObjectEncodingOptions & ExecFileOptions = {}): Promise<string> {
|
||||
const options: ExecFileOptionsWithStringEncoding = {
|
||||
encoding: encoding ?? "utf-8",
|
||||
...rest,
|
||||
|
||||
@@ -209,6 +209,7 @@ export const getApplicationBuilder = () => {
|
||||
{
|
||||
menu: null as never,
|
||||
commandId: 0,
|
||||
userAccelerator: null,
|
||||
...menuItem,
|
||||
} as MenuItem,
|
||||
undefined,
|
||||
|
||||
Reference in new issue
Block a user