SonarCloud fixes (#4235)

This commit is contained in:
MichalKinas
2024-11-13 14:26:24 +01:00
committed by GitHub
parent 27e318aaa0
commit 90ca3707f7
7 changed files with 9 additions and 10 deletions

View File

@@ -30,8 +30,8 @@ import StreamZip from 'node-stream-zip';
import { NodesApi, SitesApi, TrashcanApi } from '../api';
export class Utils {
static string257Long = 'x'.repeat(257);
static string513Long = 'x'.repeat(513);
static readonly string257Long = 'x'.repeat(257);
static readonly string513Long = 'x'.repeat(513);
static random(): string {
return crypto.getRandomValues(new Uint32Array(1))[0].toString(36).substring(0, 5).toLowerCase();