X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FIdTagsCache.ts;h=ff5c49d9a6a2dba2fc2810b0e6a36fa54fbbb125;hb=bf4afa568a47cf088c01725737aecb4be7df40b2;hp=a4ce9a100608d2959529b46995e38ed13788b0a0;hpb=7b5dbe910fc30484324da90ee209ab7002bc5071;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/IdTagsCache.ts b/src/charging-station/IdTagsCache.ts index a4ce9a10..ff5c49d9 100644 --- a/src/charging-station/IdTagsCache.ts +++ b/src/charging-station/IdTagsCache.ts @@ -64,10 +64,7 @@ export class IdTagsCache { */ public getIdTags(file: string): string[] | undefined { if (this.hasIdTagsCache(file) === false) { - this.setIdTagsCache( - Utils.isNotEmptyString(file) ? file : 'empty', - this.getIdTagsFromFile(file) - ); + this.setIdTagsCache(file, this.getIdTagsFromFile(file)); } return this.getIdTagsCache(file); } @@ -183,7 +180,6 @@ export class IdTagsCache { ); } } - logger.info(`${this.logPrefix(file)} No id tags file given in configuration`); return []; }