mirror of
https://github.com/zgs225/cliproxy-plugin-commandcode.git
synced 2026-11-25 09:51:21 +08:00
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:
1 parent
553226c96e
commit
0a9213ec38
1 file changed
-1
@@ -1230,7 +1230,6 @@ const QuotaPageHTML = `<!DOCTYPE html>
|
|||||||
const timerWeekly = document.getElementById("timerWeekly");
|
const timerWeekly = document.getElementById("timerWeekly");
|
||||||
const lastUpdated = document.getElementById("lastUpdated");
|
const lastUpdated = document.getElementById("lastUpdated");
|
||||||
|
|
||||||
const lastUpdated = document.getElementById("lastUpdated");
|
|
||||||
let fiveHourTargetTime = null;
|
let fiveHourTargetTime = null;
|
||||||
let weeklyTargetTime = null;
|
let weeklyTargetTime = null;
|
||||||
let timerInterval = null;
|
let timerInterval = null;
|
||||||
|
|||||||
Reference in new issue
Block a user