mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-13 10:05:20 +08:00
word duplicates reject validation with error
This commit is contained in:
parent
e0f7120752
commit
b621c2a988
1 changed files with 1 additions and 0 deletions
|
@ -575,6 +575,7 @@ function validateLanguages() {
|
|||
console.log(
|
||||
`Language word lists duplicate check is \u001b[31minvalid\u001b[0m (${langsWithDuplicates} languages contain duplicates)`
|
||||
);
|
||||
return reject(new Error(languageFilesErrors));
|
||||
}
|
||||
|
||||
resolve();
|
||||
|
|
Loading…
Add table
Reference in a new issue