mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 17:37:11 +02:00
refactor: use async
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user