From 5a73dff05c07fb6f835b8db9160ea9411b24fb1a Mon Sep 17 00:00:00 2001 From: Victor Rubezhny Date: Tue, 10 Sep 2024 00:28:20 +0200 Subject: [PATCH] [build] Fix build errors after update typescript-eslint group to v.8.5.0 Signed-off-by: Victor Rubezhny --- src/odo/command.ts | 2 +- src/openshift/component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/odo/command.ts b/src/odo/command.ts index c553ae300..9b7b29e74 100644 --- a/src/odo/command.ts +++ b/src/odo/command.ts @@ -19,7 +19,7 @@ export class Command { return command; } - static dev(debug: boolean, runOn?: undefined | 'podman', manualRebuild: boolean = false): CommandText { + static dev(debug: boolean, runOn?: 'podman', manualRebuild: boolean = false): CommandText { const command = new CommandText('odo', 'dev'); if (debug) { command.addOption(new CommandOption('--debug')); diff --git a/src/openshift/component.ts b/src/openshift/component.ts index 895f06c5e..7f3fc646c 100644 --- a/src/openshift/component.ts +++ b/src/openshift/component.ts @@ -334,7 +334,7 @@ export class Component extends OpenShiftItem { await Component.devRunOn(component, undefined, true); } - static async devRunOn(component: ComponentWorkspaceFolder, runOn?: undefined | 'podman', manualRebuild: boolean = false) { + static async devRunOn(component: ComponentWorkspaceFolder, runOn?: 'podman', manualRebuild: boolean = false) { const cs = Component.getComponentDevState(component); cs.devStatus = ComponentContextState.DEV_STARTING; cs.runOn = runOn;