Skip to content

Commit b4971c1

Browse files
Apply suggestions from code review
Co-authored-by: Thomas Cooper <[email protected]> Signed-off-by: Kris West <[email protected]>
1 parent 7defaa0 commit b4971c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/db/file/helper.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import { existsSync, mkdirSync } from 'fs';
22

33
export const getSessionStore = (): undefined => undefined;
44
export const initializeFolders = () => {
5-
if (!existsSync('./.data')) mkdirSync('./.data');
6-
if (!existsSync('./.data/db')) mkdirSync('./.data/db');
5+
if (!existsSync('./.data/db')) mkdirSync('./.data/db', { recursive: true });
76
};

0 commit comments

Comments
 (0)