From 7a2f87da3f873cfa5ffdcade71c2e2ccb6c240b2 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Mon, 20 May 2019 20:26:46 -0400 Subject: [PATCH] Minor style change --- src/struct/LanguageHandler.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/struct/LanguageHandler.js b/src/struct/LanguageHandler.js index a26eebe..5d5aba4 100644 --- a/src/struct/LanguageHandler.js +++ b/src/struct/LanguageHandler.js @@ -33,7 +33,9 @@ class LanguageHandler extends AkairoHandler { for (let alias of language.aliases) { const conflict = this.aliases.get(alias.toLowerCase()); - if (conflict) throw new TypeError(`Alias conflict of ${alias} between ${language.id} and ${conflict}`); + if (conflict) { + throw new TypeError(`Alias conflict of ${alias} between ${language.id} and ${conflict}`); + } alias = alias.toLowerCase(); this.aliases.set(alias, language.id);