Skip to content

Commit 50ec83f

Browse files
committed
lint
1 parent 599d92e commit 50ec83f

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

script/histogram_storage_sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ async function importHistogramData() {
341341
allFailedTasks.push(...dateResult.failedTasks)
342342
}
343343

344-
console.log(`\n=== FINAL SUMMARY ===`)
344+
console.log('\n=== FINAL SUMMARY ===')
345345
console.log(`Dates processed: ${dates.filter(d => !CONFIG.skipDates.includes(d)).length}`)
346346
console.log(`Total files successful: ${totalSuccess}`)
347347
console.log(`Total files not found: ${totalNotFound}`)
348348
console.log(`Total files with errors: ${totalErrors}`)
349349
console.log(`Total rows uploaded: ${totalRows.toLocaleString()}`)
350350

351351
if (allFailedTasks.length > 0) {
352-
console.log(`\n=== FAILED TASKS (for BACKLOG) ===`)
352+
console.log('\n=== FAILED TASKS (for BACKLOG) ===')
353353
allFailedTasks.forEach(filename => console.log(` '${filename}',`))
354354
}
355355
}

script/timeseries_storage_sync.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,6 @@ const lenses = [
2121
'wordpress/'
2222
]
2323

24-
const dates = (function () {
25-
const dates = []
26-
for (let year = 2016; year <= 2025; year++) {
27-
for (let month = 1; month <= 12; month++) {
28-
dates.push(`${year}_${String(month).padStart(2, '0')}_01`)
29-
if (year <= 2018) {
30-
dates.push(`${year}_${String(month).padStart(2, '0')}_15`)
31-
}
32-
if (year === 2025 && month === 1) {
33-
break
34-
}
35-
}
36-
}
37-
return dates
38-
})()
39-
4024
const histogramMetrics = new Set([
4125
'a11yButtonName',
4226
'a11yColorContrast',

0 commit comments

Comments
 (0)