fix(quota): remove duplicate const lastUpdated declaration that broke JS parse

The v0.4.0 UI refactor left two top-level const lastUpdated declarations;
a SyntaxError at script parse time took down the whole quota page.
Also added a node --check based syntax verification to the release flow.
This commit is contained in:
2026-09-20 12:59:46 +08:00
parent 553226c96e
commit 0a9213ec38
-1
View File
@@ -1230,7 +1230,6 @@ const QuotaPageHTML = `<!DOCTYPE html>
const timerWeekly = document.getElementById("timerWeekly");
const lastUpdated = document.getElementById("lastUpdated");
const lastUpdated = document.getElementById("lastUpdated");
let fiveHourTargetTime = null;
let weeklyTargetTime = null;
let timerInterval = null;