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
Switch log messages to string literal
[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 7b2db1c795033a2f697f2989c3f69a7a5eb9ed30..ca45d287e139407ca66858f11c94dcbb3fc23d3c 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-54,7
+54,7
@@
export class Bootstrap {
this.workerScript = path.join(
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../'),
'charging-station',
this.workerScript = path.join(
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../'),
'charging-station',
- 'ChargingStationWorker' + path.extname(fileURLToPath(import.meta.url))
+ `ChargingStationWorker${path.extname(fileURLToPath(import.meta.url))}`
);
this.initialize();
Configuration.getUIServer().enabled === true &&
);
this.initialize();
Configuration.getUIServer().enabled === true &&
@@
-98,9
+98,7
@@
export class Bootstrap {
} catch (error) {
console.error(
chalk.red(
} catch (error) {
console.error(
chalk.red(
- 'Error at starting charging station with template file ' +
- stationTemplateUrl.file +
- ': '
+ `Error at starting charging station with template file ${stationTemplateUrl.file}: `
),
error
);
),
error
);