diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-16 11:18:32 -0400 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-16 11:18:32 -0400 |
| commit | 59604d7455e144333eec4160857a29fafc5f39ee (patch) | |
| tree | d0f82f8acd5eb4a52c181d4f25e0d7ce042bab07 /src | |
| parent | 2a7c2a7b86f47289e5495b7eee23db6239decce8 (diff) | |
| download | tanzanite-59604d7455e144333eec4160857a29fafc5f39ee.tar.gz tanzanite-59604d7455e144333eec4160857a29fafc5f39ee.tar.bz2 tanzanite-59604d7455e144333eec4160857a29fafc5f39ee.zip | |
fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/listeners/other/exit.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/listeners/other/exit.ts b/src/listeners/other/exit.ts index d7c12f9..e860eda 100644 --- a/src/listeners/other/exit.ts +++ b/src/listeners/other/exit.ts @@ -9,7 +9,6 @@ export default class ExitListener extends BushListener { } public override async exec(code: number): Promise<void> { - process.on('exit', () => {}); - void client.console.error('processExit', `Process ended with code <<${code}>>.`); + await client.console.error('processExit', `Process ended with code <<${code}>>.`); } } |
