From cf7457d6c231a6971eb565c81f92e617f753cda0 Mon Sep 17 00:00:00 2001 From: rizrmd Date: Sun, 19 May 2024 13:58:42 +0700 Subject: [PATCH] fix --- app/srv/ws/sync/code/code.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/srv/ws/sync/code/code.ts b/app/srv/ws/sync/code/code.ts index 87e86a32..f65b026b 100644 --- a/app/srv/ws/sync/code/code.ts +++ b/app/srv/ws/sync/code/code.ts @@ -19,8 +19,8 @@ export const code = { await initFrontEnd(root, id_site); await initServer(root, id_site); await initTypings(root, id_site); - if (exists(dir.data(`${root}/typings`))) { - await $`chmod -R 777 ${dir.data(`${root}/typings`)}`; + if (exists(dir.data(`${root}`))) { + await $`chmod -R 777 ${dir.data(`${root}`)}`; } }, path(