prettier fix

This commit is contained in:
Miodec 2023-08-03 16:24:48 +02:00
parent d1cba45afe
commit 7e9a7efd79
3 changed files with 76908 additions and 76906 deletions

View file

@ -404,14 +404,16 @@ function validateQuotes() {
quoteIdsAllGood = false;
quoteIdsErrors = quoteIdsValidator.errors;
}
const incorrectQuoteLength = quoteData.quotes
.filter((quote) => quote.text.length !== quote.length)
const incorrectQuoteLength = quoteData.quotes.filter(
(quote) => quote.text.length !== quote.length
);
if (incorrectQuoteLength.length !== 0) {
console.log("Some length fields are \u001b[31mincorrect\u001b[0m");
incorrectQuoteLength
.map((quote) => { console.log(
incorrectQuoteLength.map((quote) => {
console.log(
`Quote ${quotefilename} ID ${quote.id}: expected length ${quote.text.length}`
)});
);
});
quoteFilesAllGood = false;
incorrectQuoteLength.map((quote) => {
quoteLengthErrors.push(

View file

@ -528,4 +528,4 @@
"code_assembly"
]
}
]
]

File diff suppressed because it is too large Load diff