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

@ -100,7 +100,7 @@ describe('Helper', function () {
jsc.array(common.jscHashString()),
'string',
function (prefix, url, fragment, postfix) {
prefix = prefix.replace(/\r|\f/g, '\n').replace('\u0000', '').replace('\u000b', '');;
prefix = prefix.replace(/\r|\f/g, '\n').replace('\u0000', '').replace('\u000b', '');
postfix = ' ' + postfix.replace('\r', '\n').replace('\u0000', '');
url.fragment = fragment.join('');
let urlString = common.urlToString(url),