From 53994807138b6ebfa10d73ba7b2ef5b1237a1ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 6 Mar 2024 18:00:08 +0100 Subject: [PATCH] Fix missing mkdir in gen --- utils/gen.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/gen.ts b/utils/gen.ts index ca59bff..72e5553 100755 --- a/utils/gen.ts +++ b/utils/gen.ts @@ -160,6 +160,7 @@ new Promise((resolve) => { allRoutes(path.resolve(path_front, 'routes'), `index.ts`, {groups: current, categories: allCategories}) allCategories.forEach(c=>{ if (!deleteFiles) mkdir(path.resolve(path_front, 'routes', c)); + if (!deleteFiles) mkdir(path.resolve(path_front, 'pages', c)); const groups = current.map(g=>{return{ ...g, objects: g.objects.filter(o=>o.category==c)