From 9b7b5ee03d883f32ad9cb3963078720aaef645c0 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 20 Dec 2019 12:29:28 -0500 Subject: [PATCH] change spawn path --- src/intervals/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intervals/storage.ts b/src/intervals/storage.ts index d93da4e..bf90bda 100644 --- a/src/intervals/storage.ts +++ b/src/intervals/storage.ts @@ -30,6 +30,6 @@ export default async function storage(client: Client) { storageGo.stderr.on('data', (data) => client.signale.log(data)); storageGo.on('exit', (code) => { client.signale.log(`Go storage func exited with code ${code}, restarting`); - storageGo = spawn('./storage', []); + storageGo = spawn('../bin/storage', []); }); }