style: add @typescript-eslint/return-await rule (#9612)

This commit is contained in:
Brooooooklyn
2025-01-09 09:28:58 +00:00
parent 6d29f80894
commit fed0156f22
5 changed files with 14 additions and 15 deletions

View File

@@ -195,7 +195,7 @@ export async function loadDBFile(): Promise<LoadDBFileResult> {
}
const workspaceId = nanoid(10);
return loadV1DBFile(originalPath, workspaceId);
return await loadV1DBFile(originalPath, workspaceId);
// TODO(forehalo): use `nbstore` when it is ready
// let storage = new DocStorage(originalPath);