X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fperformance%2Fstorage%2FJSONFileStorage.ts;h=9df7662a02db6a0552a8cd03dbe6ee9e8fd601a3;hb=1f5df42ad17d09d3a1f53f6618eba325a403d7ad;hp=7e23365ef77212cab7cf9f8ef690d214edad9ef7;hpb=64a947062389248f0f04716cfac62f5e6a398769;p=e-mobility-charging-stations-simulator.git diff --git a/src/performance/storage/JSONFileStorage.ts b/src/performance/storage/JSONFileStorage.ts index 7e23365e..9df7662a 100644 --- a/src/performance/storage/JSONFileStorage.ts +++ b/src/performance/storage/JSONFileStorage.ts @@ -10,9 +10,9 @@ import lockfile from 'proper-lockfile'; export class JSONFileStorage extends Storage { private fd: number | null = null; - constructor(storageURI: string, logPrefix: string) { - super(storageURI, logPrefix); - this.dbName = this.storageURI.pathname; + constructor(storageUri: string, logPrefix: string) { + super(storageUri, logPrefix); + this.dbName = this.storageUri.pathname; } public storePerformanceStatistics(performanceStatistics: Statistics): void {