From dc837ecd974204212c51a9cd3fcf5260ee397145 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 09:53:03 +0000 Subject: [PATCH] Format code with standardjs and prettier This commit fixes the style issues introduced in 9780e8c according to the output from standardjs and prettier. Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/c3aef707-607b-4b3e-a03c-3e84dbc77e7f/ --- src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index 01ae110..07562aa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,25 +31,25 @@ const main = async () => { await logger.silly("Schedules process started"); }) .catch(async (err) => { - await logger.error(err); + await logger.error(err); }); // Start command handler await commands(client) .then(async () => { - await logger.silly("Commands process started"); + await logger.silly("Commands process started"); }) .catch(async (err) => { - await logger.error(err); + await logger.error(err); }); // Start event handler await events(client) .then(async () => { - await logger.silly("Events process started"); + await logger.silly("Events process started"); }) .catch(async (err) => { - await logger.error(err); + await logger.error(err); }); // Authorize with Discord's API @@ -58,8 +58,8 @@ const main = async () => { await main() .then(async () => { - await logger.silly("Main process started"); + await logger.silly("Main process started"); }) .catch(async (err) => { - await logger.error(err); + await logger.error(err); });