From 822fb83cb4a6808cdefd00fe9ea5cb1c783eefba Mon Sep 17 00:00:00 2001 From: auyua9 Date: Mon, 14 Sep 2026 09:26:45 +0800 Subject: [PATCH] style: apply prettier to the rc-guard regression test --- gitnexus/test/unit/publish-rc-guard.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gitnexus/test/unit/publish-rc-guard.test.ts b/gitnexus/test/unit/publish-rc-guard.test.ts index 6cdf0047c..b7b7e993c 100644 --- a/gitnexus/test/unit/publish-rc-guard.test.ts +++ b/gitnexus/test/unit/publish-rc-guard.test.ts @@ -19,7 +19,9 @@ function releaseSubjectRegex(): string { const yaml = readFileSync(WORKFLOW, 'utf8'); const match = yaml.match(/RELEASE_SUBJECT_RE='([^']+)'/); if (!match) { - throw new Error('RELEASE_SUBJECT_RE not found in publish.yml — did the rc-guard Decide step change?'); + throw new Error( + 'RELEASE_SUBJECT_RE not found in publish.yml — did the rc-guard Decide step change?', + ); } return match[1]; }