refactor: null -> undefined where appropriate
[e-mobility-charging-stations-simulator.git] / src / charging-station / Bootstrap.ts
index 0cd15055871405fdf7441d89a362f260cd68269e..33b482b1682a4938137e442014237c2bd3ac6688 100644 (file)
@@ -259,7 +259,7 @@ export class Bootstrap extends EventEmitter {
     // logger.debug(
     //   `${this.logPrefix()} ${moduleName}.messageHandler: Worker channel message received: ${JSON.stringify(
     //     msg,
-    //     null,
+    //     undefined,
     //     2,
     //   )}`,
     // );
@@ -297,7 +297,7 @@ export class Bootstrap extends EventEmitter {
           throw new BaseError(
             `Unknown charging station worker event: '${
               msg.event
-            }' received with data: ${JSON.stringify(msg.data, null, 2)}`,
+            }' received with data: ${JSON.stringify(msg.data, undefined, 2)}`,
           );
       }
     } catch (error) {