Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Refine comment at CS configuration file handling
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Apr 25, 2022
1 parent f765bea commit aca53a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charging-station/ChargingStation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ export default class ChargingStation {
this.hashId + '.json'
);
const stationInfoFromFile: ChargingStationInfo = this.getStationInfoFromFile();
// Priority: charging stations info from template > charging station info from configuration file > charging station info attribute
// Priority: charging station info from template > charging station info from configuration file > charging station info attribute
if (stationInfoFromFile?.templateHash === stationInfoFromTemplate.templateHash) {
return stationInfoFromFile;
} else if (stationInfoFromFile?.templateHash !== stationInfoFromTemplate.templateHash) {
Expand Down

0 comments on commit aca53a1

Please sign in to comment.