mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-11-29 02:26:48 -05:00
address eslint errors
This commit is contained in:
parent
85962a537a
commit
e7c2aa4d60
10 changed files with 15 additions and 16 deletions
|
|
@ -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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue