From a05047ab7df11ec332505ac7ebe014349111d244 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 30 Sep 2023 14:47:10 +0200 Subject: [PATCH] script/pushCommands: make sure the script exits --- scripts/pushCommands.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pushCommands.ts b/scripts/pushCommands.ts index b6419fc..39ad319 100644 --- a/scripts/pushCommands.ts +++ b/scripts/pushCommands.ts @@ -37,6 +37,8 @@ const rest = new REST().setToken(config.tokens.Discord); ); } console.log("Refreshed successfully"); + process.exit(0); })().catch( e => { console.error(e); + process.exit(1); });