From 87052ce105dd5cbbf04686f2990134f78b47c6c5 Mon Sep 17 00:00:00 2001 From: C4illin Date: Tue, 30 Jul 2024 19:03:13 +0200 Subject: [PATCH] chore: create data directory --- src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.tsx b/src/index.tsx index 25cc26a..58c0c93 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -21,6 +21,7 @@ import { } from "./helpers/normalizeFiletype"; import "./helpers/printVersions"; +mkdir("./data", { recursive: true }).catch(console.error); const db = new Database("./data/mydb.sqlite", { create: true }); const uploadsDir = "./data/uploads/"; const outputDir = "./data/output/";