mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-11-28 18:21:02 -05:00
address eslint errors
This commit is contained in:
parent
51481656ba
commit
f0560bcc27
8 changed files with 27 additions and 20 deletions
|
|
@ -50,7 +50,7 @@ describe('PasteStatus', function () {
|
|||
'nestring',
|
||||
common.jscUrl(),
|
||||
function (schema, domain, url) {
|
||||
domain = domain.replace(/\P{Letter}|[\u00AA-\u00BA]/gu, '').toLowerCase();
|
||||
domain = domain.replace(/\P{Letter}|[\u{00AA}-\u{00BA}]/gu, '').toLowerCase();
|
||||
if (domain.length === 0) {
|
||||
domain = 'a';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue