address eslint errors

This commit is contained in:
El RIDO 2025-10-07 00:11:49 +02:00
parent 85962a537a
commit e7c2aa4d60
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
10 changed files with 15 additions and 16 deletions

View file

@ -50,7 +50,7 @@ describe('PasteStatus', function () {
'nestring',
common.jscUrl(),
function (schema, domain, url) {
domain = domain.replace(/\P{Letter}|[\u{00AA}-\u{00BA}]/gu, '').toLowerCase();
domain = domain.replace(/\P{Letter}|[\u{AA}-\u{BA}]/gu, '').toLowerCase();
if (domain.length === 0) {
domain = 'a';
}