refactor: use async

This commit is contained in:
Barış Soner Uşaklı
2021-12-08 19:40:33 -05:00
parent e3c0f0be0a
commit 8491f67daf
2 changed files with 5 additions and 5 deletions

View File

@@ -12,5 +12,5 @@ Logs.get = async function () {
};
Logs.clear = async function () {
return await fs.promises.truncate(Logs.path, 0);
await fs.promises.truncate(Logs.path, 0);
};