From e14bc1608245b3aac4a4add1f562f7f5d02ec1c1 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Sep 2026 20:39:15 +0000 Subject: [PATCH] =?UTF-8?q?chore(standards):=20=E6=AD=A3=E6=9C=AC=E3=81=AE?= =?UTF-8?q?=E5=86=99=E3=81=97=E3=82=92=E6=96=B0=E3=81=97=E3=81=8F=E3=81=99?= =?UTF-8?q?=E3=82=8B=EF=BC=88=E5=85=A5=E5=8F=A3=E5=88=A4=E5=AE=9A=E3=83=BB?= =?UTF-8?q?Zero-CDN=20=E6=A4=9C=E6=9F=BB=E3=83=BBlint=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 何が起きていたか - tools/build-sw.mjs の `[, '不明']` が eslint の no-sparse-arrays に当たり、lint が落ちる形になっていた どう直したか - tools/build-sw.mjs: 疎な配列を直した正本(standards/sw/build-sw-vite.mjs)の写し 正本の側の直しは GIGAyama.github.io の同じ枝(claude/gigayama-system-review-xm7tz1)にある。 ここに在る検査(check-drift・gate・build-sw --check)はすべて通してある。 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_012McVFkty7uhkRRjq2q4uB1 --- tools/build-sw.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build-sw.mjs b/tools/build-sw.mjs index b326d31..c34a1ed 100644 --- a/tools/build-sw.mjs +++ b/tools/build-sw.mjs @@ -242,7 +242,7 @@ if (next === src) { process.exit(0); } -if (check) stale((VERSION_LINE.exec(src)[0].match(/'([^']*)'/) || [, '不明'])[1], version); +if (check) stale((VERSION_LINE.exec(src)[0].match(/'([^']*)'/) || ['', '不明'])[1], version); writeFileSync(SW, next); console.log(`[build-sw] APP_VERSION = ${version}`);