From 996ed024ec332d5ea0dfbbc66538f84093f5df9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?GIGA=E5=B1=B1?= <229759963+GIGAyama@users.noreply.github.com> Date: Wed, 2 Sep 2026 21:08:10 +0000 Subject: [PATCH] chore(standards): Sync with latest standards --- 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}`);