Strict null type check fixes
[e-mobility-charging-stations-simulator.git] / src / start.ts
index 596f0275e8335a9c36e0dc29cb31dff5539cc4fb..a21f7fcf07b59c80e341c1f864b3124d74d4ce31 100644 (file)
@@ -1,8 +1,11 @@
-import Bootstrap from './charging-station/Bootstrap';
+// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
+
 import chalk from 'chalk';
 
-Bootstrap.getInstance().start().catch(
-  (error) => {
+import { Bootstrap } from './internal';
+
+Bootstrap.getInstance()
+  .start()
+  .catch(error => {
     console.error(chalk.red(error));
-  }
-);
+  });