From 22daae515721748c7bb7d40064ec7619abf685fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <git@minelli.swiss>
Date: Wed, 2 Apr 2025 14:00:48 +0200
Subject: [PATCH] Rebase fixes

---
 NodeApp/src/config/Config.ts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/NodeApp/src/config/Config.ts b/NodeApp/src/config/Config.ts
index 0d4a441..a571f7e 100644
--- a/NodeApp/src/config/Config.ts
+++ b/NodeApp/src/config/Config.ts
@@ -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) {
-- 
GitLab