script/pushCommands: make sure the script exits
This commit is contained in:
parent
4729f7f563
commit
a05047ab7d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue