Skip to content

Commit 0ae7e0c

Browse files
author
Picoseconds
committed
style: remove a single unneccesary await
1 parent bf8db3f commit 0ae7e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/moomoo/Game.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default class Game {
5050
}
5151

5252
async initDatabase() {
53-
this.db = await (await lowdb(new FileAsync<DBSchema>('./.data/sanctuary.json')));
53+
this.db = await lowdb(new FileAsync<DBSchema>('./.data/sanctuary.json'));
5454
this.db.defaults({ bannedIPs: [], moderatorIPs: [] })
5555
.write();
5656
}

0 commit comments

Comments
 (0)