repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Bootstrap.ts
diff --git
a/src/charging-station/Bootstrap.ts
b/src/charging-station/Bootstrap.ts
index 22b3207b57e5a03fbe09e3d250d8405486ba22ec..c0dc2b3d2ff22aaeefdc221d3ccab4dce8ebc7ac 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-47,7
+47,7
@@
enum exitCodes {
succeeded = 0,
missingChargingStationsConfiguration = 1,
noChargingStationTemplates = 2,
succeeded = 0,
missingChargingStationsConfiguration = 1,
noChargingStationTemplates = 2,
- gracefulShutdownError = 3
,
+ gracefulShutdownError = 3
}
export class Bootstrap extends EventEmitter {
}
export class Bootstrap extends EventEmitter {
@@
-424,7
+424,7
@@
export class Bootstrap extends EventEmitter {
exit(exitCodes.gracefulShutdownError)
})
})
exit(exitCodes.gracefulShutdownError)
})
})
- .catch(
(error)
=> {
+ .catch(
error
=> {
console.error(chalk.red('Error while shutdowning charging stations simulator: '), error)
exit(exitCodes.gracefulShutdownError)
})
console.error(chalk.red('Error while shutdowning charging stations simulator: '), error)
exit(exitCodes.gracefulShutdownError)
})