Skip to content

Commit e3a2a8a

Browse files
committed
Revert cosmetic GUI reformatting; keep only the shared-loader change
The previous commit's deno-fmt pass rewrote the already-merged GUI files (gui/app.html, gui/app.js, gui/server.js) wholesale, which SonarCloud then counted as "new code" — and app.js's kind/strata constants duplicated the new CLI/test, leaving duplication at 4.4% (> 3%). Restore gui/app.html and gui/app.js to their merged (main) state, and keep only the functional shared-loader change in gui/server.js and scripts/validate-cartridges.js (route both through src/cartridges.js so the cartridge walk lives in exactly one place). Narrow deno.json fmt.include to the files this PR actually authors, so the merged GUI shell is no longer reformatted. Verified (Deno 2.8.3): deno fmt --check, deno lint, deno task test (59/59), deno task build (1/1), GUI /api/cartridges live probe — all green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A1BaAhqxUjkgVb1yg1sZap
1 parent 48bf632 commit e3a2a8a

5 files changed

Lines changed: 274 additions & 698 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"semiColons": false,
2121
"singleQuote": false,
2222
"proseWrap": "preserve",
23-
"include": ["bin/", "gui/", "scripts/", "src/cartridges.js", "test/run_all.js", "deno.json"]
23+
"include": ["bin/", "src/cartridges.js", "test/run_all.js", "deno.json"]
2424
},
2525
"lint": {
2626
"rules": {

0 commit comments

Comments
 (0)