From a17338460d2fa078782add42a3a19bccf297ecc7 Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Fri, 26 Apr 2024 17:56:00 +0530 Subject: [PATCH] eventstream-router: fix file reference in check.ts --- eventstream-router/check.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eventstream-router/check.ts b/eventstream-router/check.ts index d5246e2..ffc1533 100644 --- a/eventstream-router/check.ts +++ b/eventstream-router/check.ts @@ -14,6 +14,8 @@ const streamJobs = { 'stream': '~/SDZeroBot/eventstream-router' }; +process.chdir(__dirname); + for (const [job, dir] of Object.entries(streamJobs)) { const tail = execSync(`tail -100 ${mapPath(`~/${job}.out`)}`).toString();