mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
style: add @typescript-eslint/return-await rule (#9612)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user