From 684c6b8d92e9431cd3d48c56aa6afdfb1a4f014e Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 20 Dec 2019 12:32:00 -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 bf90bda..6fec736 100644 --- a/src/intervals/storage.ts +++ b/src/intervals/storage.ts @@ -25,7 +25,7 @@ export default async function storage(client: Client) { setInterval(async () => { await main(); }, 900000); */ - let storageGo = spawn('./storage', []); + let storageGo = spawn('../bin/storage', []); storageGo.stdout.on('data', (data) => client.signale.log(data)); storageGo.stderr.on('data', (data) => client.signale.log(data)); storageGo.on('exit', (code) => {