From 6b22ebdb9c333e35552fde5b4f47dd83fdf4fc44 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Sat, 19 Jun 2021 16:38:11 -0700 Subject: [PATCH] chore: rearranged imports --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4096afb..bd47fa0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,13 +17,13 @@ require('module-alias/register'); import process from 'process'; -import { Client } from 'discord.js'; import figlet from 'figlet'; import gradient from 'gradient-string'; import config from 'config'; +import chalk from 'chalk'; import { Validator } from 'jsonschema'; import { DateTime } from 'luxon'; -import chalk from 'chalk'; +import { Client } from 'discord.js'; import { debug, error, info, verbose } from '@utils/logger'; import { ELoggingScope } from '@utils/types'; import { Defaults } from '@utils/defaults'; @@ -39,7 +39,7 @@ const validate = schemaValidator.validate(mergedConfig, Defaults.configSchema); if (validate.valid) { debug('Config matches JSON schema', ELoggingScope.Startup); } else { - // Manually send fatal message in case someone messes up the logLevel JSON schema + // Manually send fatal message in case someone messes up the logLevel config const message = `Found some errors with the config! Please check errors below.\n${validate.errors}`; const date = DateTime.now().toLocal().setLocale(Intl.DateTimeFormat().resolvedOptions().locale).toFormat('yyyy-LL-dd HH:mm:ss');