Skip to content

Commit 3ab699b

Browse files
committed
native kernel fix mkdir recursive
1 parent b11839b commit 3ab699b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpkernel/src/kernel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export async function startNativeKernel(kernel_json) {
8989
// FIXME relative path
9090
let conns_dir = path.join(appdata, "CodePod", `conns`);
9191
if (!fs.existsSync(conns_dir)) {
92-
await fs.promises.mkdir(conns_dir);
92+
await fs.promises.mkdir(conns_dir, { recursive: true });
9393
}
9494
let connFname = path.join(conns_dir, `conn-${id}.json`);
9595

0 commit comments

Comments
 (0)