aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-19 20:48:58 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-19 20:48:58 +0000
commitb272573793271d277525bd30188e65bd8364b47e (patch)
tree3925e29a3b0c7b9924cba32293cfa36cf195e9e8
parentb023e057083f002418d2a685dbfb17faa624b6b1 (diff)
downloadtanzanite-b272573793271d277525bd30188e65bd8364b47e.tar.gz
tanzanite-b272573793271d277525bd30188e65bd8364b47e.tar.bz2
tanzanite-b272573793271d277525bd30188e65bd8364b47e.zip
Automatically format code
-rw-r--r--src/commands/dev/reload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts
index 4898ad3..9501314 100644
--- a/src/commands/dev/reload.ts
+++ b/src/commands/dev/reload.ts
@@ -35,7 +35,7 @@ export default class ReloadCommand extends BushCommand {
if (!message.author.isOwner())
return await message.util.reply(`${this.client.util.emojis.error} Only my developers can run this command.`);
- let output: { stdout: string; stderr: string; };
+ let output: { stdout: string; stderr: string };
try {
const s = new Date();
output = await this.client.util.shell(`yarn build-${fast ? 'esbuild' : 'tsc'}`);
@@ -44,7 +44,7 @@ export default class ReloadCommand extends BushCommand {
this.client.inhibitorHandler.reloadAll();
return message.util.send(`🔁 Successfully reloaded! (${new Date().getTime() - s.getTime()}ms)`);
} catch (e) {
- if (output) await this.client.logger.error('reloadCommand', output)
+ if (output) await this.client.logger.error('reloadCommand', output);
return message.util.send(
`An error occurred while reloading:\n${await this.client.util.codeblock(e?.stack || e, 2048 - 34, 'js')}`
);