change spawn path

merge-requests/1/merge
Matthew 2019-12-20 12:32:00 -05:00
parent 9b7b5ee03d
commit 684c6b8d92
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default async function storage(client: Client) {
setInterval(async () => { setInterval(async () => {
await main(); await main();
}, 900000); */ }, 900000); */
let storageGo = spawn('./storage', []); let storageGo = spawn('../bin/storage', []);
storageGo.stdout.on('data', (data) => client.signale.log(data)); storageGo.stdout.on('data', (data) => client.signale.log(data));
storageGo.stderr.on('data', (data) => client.signale.log(data)); storageGo.stderr.on('data', (data) => client.signale.log(data));
storageGo.on('exit', (code) => { storageGo.on('exit', (code) => {