From: Jérôme Benoit Date: Fri, 26 May 2023 21:47:31 +0000 (+0200) Subject: refactor: stop !== shutdown semantic X-Git-Tag: v1.2.15~40 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fca8bc64968004b4018a4d766b2121ced4fee943;p=e-mobility-charging-stations-simulator.git refactor: stop !== shutdown semantic Signed-off-by: Jérôme Benoit --- diff --git a/.vscode/settings.json b/.vscode/settings.json index 47a0799f..1f23ab8a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -36,6 +36,7 @@ "preinstall", "Recurrency", "robohydra", + "shutdowning", "sonarlint", "SRPC", "tsdoc", diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 5e1ac3eb..677843d2 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -299,7 +299,7 @@ export class Bootstrap extends EventEmitter { process.exit(0); }) .catch((error) => { - console.error(chalk.red('Error while stopping charging stations simulator: '), error); + console.error(chalk.red('Error while shutdowning charging stations simulator: '), error); process.exit(1); }); };