From 8f8b586d68553bdfb86c336c8ca6e85d2af40235 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Tue, 26 Mar 2024 21:11:09 +0000 Subject: [PATCH] fix: chmod recursively --- apps/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/index.ts b/apps/api/index.ts index e4ebbe0..ad58bd8 100644 --- a/apps/api/index.ts +++ b/apps/api/index.ts @@ -18,7 +18,7 @@ if (devMode) console.log('You\'re a developer 😎 (sorry for that emoji jumpsca const cwd = process.cwd() console.log('Setting correct permissions for Github SSH key...') -await execa('chmod', ['400', '/ssh/github'], { shell: true }) +await execa('chmod', ['400', '-R', '/ssh'], { shell: true }) console.log('Permissions done!') const { app } = expressWs(express())