Minor style change
This commit is contained in:
parent
de45491586
commit
7a2f87da3f
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ class LanguageHandler extends AkairoHandler {
|
||||||
|
|
||||||
for (let alias of language.aliases) {
|
for (let alias of language.aliases) {
|
||||||
const conflict = this.aliases.get(alias.toLowerCase());
|
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();
|
alias = alias.toLowerCase();
|
||||||
this.aliases.set(alias, language.id);
|
this.aliases.set(alias, language.id);
|
||||||
|
|
Loading…
Reference in a new issue