Skip to content
Snippets Groups Projects
Commit 22daae51 authored by michael.minelli's avatar michael.minelli
Browse files

Rebase fixes

parent f4ed114b
No related branches found
No related tags found
No related merge requests found
Pipeline #39055 passed
......@@ -36,8 +36,6 @@ class Config {
public interactiveMode!: boolean;
constructor() { }
async init(apiUrl: string) {
await ClientsSharedConfig.init(apiUrl);
const getEnvVar = ClientsSharedConfig.envVarGetter();
......@@ -72,7 +70,7 @@ class Config {
};
const interactiveMode: boolean | null = ConfigFiles.stateConfigFile.getParam(this.INTERACTIVE_MODE_CONFIG_KEY) as boolean | null;
this.interactiveMode = interactiveMode == null ? await this.askInteractiveMode() : interactiveMode;
this.interactiveMode = interactiveMode ?? await this.askInteractiveMode();
}
setInteractiveMode(state: boolean) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment