From 269f23a38789190d112b04e8e70c3a6d649193b1 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 14 Jun 2026 00:08:03 -0500 Subject: Update theme studio palette workflow --- scripts/theme-studio/run-tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/theme-studio/run-tests.sh') diff --git a/scripts/theme-studio/run-tests.sh b/scripts/theme-studio/run-tests.sh index 4c4a5cde3..95a3dde68 100755 --- a/scripts/theme-studio/run-tests.sh +++ b/scripts/theme-studio/run-tests.sh @@ -44,8 +44,10 @@ else fail_msg "Node unit tests"; grep -E 'not ok|AssertionError|Error' /tmp/ts-n # 4. Syntax-check the inlined page script. python3 - <<'PY' && node --check /tmp/ts-script.js >/dev/null 2>&1 && pass_msg "spliced page ', h, re.S).group(1)) +with open('theme-studio.html') as src: + h = src.read() +with open('/tmp/ts-script.js', 'w') as out: + out.write(re.search(r'', h, re.S).group(1)) PY # 5. Browser hash gates. -- cgit v1.2.3