repositories
/
e-mobility-charging-stations-simulator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix: wait for worker exit to clean the worker set
[e-mobility-charging-stations-simulator.git]
/
src
/
start.ts
1
// Partial Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
2
3
import
chalk from
'chalk'
;
4
5
import
{
Bootstrap
}
from
'./charging-station'
;
6
7
Bootstrap
.
getInstance
()
8
.
start
()
9
.
catch
((
error
) => {
10
console
.
error
(
chalk
.
red
(
'Startup error: '
),
error
);
11
});