From fca8bc64968004b4018a4d766b2121ced4fee943 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 26 May 2023 23:47:31 +0200 Subject: [PATCH] refactor: stop !== shutdown semantic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .vscode/settings.json | 1 + src/charging-station/Bootstrap.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); }); }; -- 2.34.1