0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed unnecessary await

refs https://github.com/TryGhost/DevOps/issues/119

- this is not needed and tsserver was flagging it up
This commit is contained in:
Daniel Lockyer 2023-12-07 12:20:30 +01:00 committed by Daniel Lockyer
parent 739c690a29
commit bb99a4c394

View file

@ -91,7 +91,7 @@ class DataGenerator {
}
let baseData = {};
try {
baseData = JSON.parse(await (await fs.readFile(baseDataPack)).toString());
baseData = JSON.parse((await fs.readFile(baseDataPack)).toString());
this.logger.info('Read base data pack');
} catch (error) {
this.logger.error('Failed to read data pack: ', error);