fix(ui): util module is not available in browser
[e-mobility-charging-stations-simulator.git] / src / charging-station / Bootstrap.ts
index 0934c1c294ca553df698e9bf4ea35f37784a7a4a..baa756af6a1d8352fc0db56031fddaebe528d775 100644 (file)
@@ -199,9 +199,9 @@ export class Bootstrap extends EventEmitter {
           ),
           new Promise<string>((resolve) => {
             setTimeout(() => {
-              const message = `Timeout reached ${formatDurationMilliSeconds(
+              const message = `Timeout ${formatDurationMilliSeconds(
                 Constants.STOP_SIMULATOR_TIMEOUT,
-              )} at stopping charging stations simulator`;
+              )} reached at stopping charging stations simulator`;
               console.warn(chalk.yellow(message));
               resolve(message);
             }, Constants.STOP_SIMULATOR_TIMEOUT);