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
refactor: factor out more charging station options handling code
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ChargingStation.ts
diff --git
a/src/charging-station/ChargingStation.ts
b/src/charging-station/ChargingStation.ts
index 6b83b1364e6e6add5472eaf533e0e97a643c2c96..3c51180449c688eb99d476927aec92c8e4e35908 100644
(file)
--- a/
src/charging-station/ChargingStation.ts
+++ b/
src/charging-station/ChargingStation.ts
@@
-253,11
+253,6
@@
export class ChargingStation extends EventEmitter {
this.add()
- if (options?.autoStart != null) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- this.stationInfo!.autoStart = options.autoStart
- }
-
if (this.stationInfo?.autoStart === true) {
this.start()
}