From 0010743024e51450815545c685d3c9f4e9fa7c84 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Sat, 24 Oct 2026 03:24:52 +0200 Subject: [PATCH] Update source checks for formatted JSON --- scripts/check-frontend.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/check-frontend.sh b/scripts/check-frontend.sh index 5713a65..bb67766 100755 --- a/scripts/check-frontend.sh +++ b/scripts/check-frontend.sh @@ -99,7 +99,10 @@ grep -q 'id="debug-panel"' index.html grep -q "query AdminPlayerTrace" index.html grep -q 'adminPlayerTrace(accountId: \$accountId, limit: \$limit, offset: \$offset)' index.html grep -q 'function renderDecisionTrace' index.html -grep -q 'JSON.stringify(group, null, 2)' index.html +grep -q 'appendFormattedJson(pre, group)' index.html +grep -q "JSON.stringify(value, null, '\\t')" index.html +grep -q 'json-token-key' index.html +grep -q 'json-token-string' index.html grep -q 'debug-enabled' index.html grep -q '/api/admin/players?' index.html grep -q 'Välj konto att följa' index.html