Housekeeping & Make ESLint Happy

This commit is contained in:
SukkaW
2026-07-29 12:42:58 +08:00
parent 36ceefd3a3
commit 55870db2bc
10 changed files with 39 additions and 23 deletions

View File

@@ -71,7 +71,8 @@ function writeJobSummary(shardLabel: string, dead: string[], geo: RunnerGeoIP |
const bar = new cliProgress.SingleBar({}, cliProgress.Presets.shades_classic);
bar.start(shardDomains.length, 0);
for (const { domain, includeAllSubdomain } of shardDomains) {
for (let i = 0, len = shardDomains.length; i < len; i++) {
const { domain, includeAllSubdomain } = shardDomains[i];
queue.add(async () => {
let registerableDomainAlive, registerableDomain, alive: boolean | undefined;