mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03: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:
parent
739c690a29
commit
bb99a4c394
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user