From d22ed10e96d7a4c5de3fea2b3d8ca5b60b41f250 Mon Sep 17 00:00:00 2001 From: Rizky Date: Mon, 2 Sep 2024 15:01:08 +0700 Subject: [PATCH] fix code --- app/srv/ws/sync/code/code.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/srv/ws/sync/code/code.ts b/app/srv/ws/sync/code/code.ts index f94f837f..a8a8f0bc 100644 --- a/app/srv/ws/sync/code/code.ts +++ b/app/srv/ws/sync/code/code.ts @@ -21,7 +21,7 @@ export const code = { await initServer(root, id_site); await initTypings(root, id_site); if (exists(dir.data(`${root}`))) { - await $`chmod -R 777 ${dir.data(`${root}`)}`; + await $`chmod -R 777 ${dir.data(`${root}`)}`.nothrow(); } } catch (e) { console.error(`Failed to init site: ${id_site}`);