Update init. Remove uneccessary directores creation

This commit is contained in:
2026-03-22 05:06:36 +01:00
parent 32056b5cb6
commit 9f619c8898
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -18,6 +18,8 @@ export default async function () {
for (let i = 0; i < keys.length; i++) {
const key = keys[i];
const dir = dirNames[key];
if (!dir.match(/\//))
continue;
if (!existsSync(dir) && !dir.match(/\.\w+$/)) {
mkdirSync(dir, { recursive: true });
continue;