Skip to content

Commit fb5819b

Browse files
author
allburov
committed
[core] Create folder if there's no yet
1 parent 5cc1af3 commit fb5819b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/storage.core.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export class SessionStorageCore extends LocalSessionStorage {
8282
}
8383

8484
async getAll(): Promise<string[]> {
85+
await this.init();
8586
const content = await fs.readdir(this.engineFolder, {
8687
withFileTypes: true,
8788
});

0 commit comments

Comments
 (0)