style: apply prettier to the rc-guard regression test

This commit is contained in:
auyua9 2026-09-14 09:26:45 +08:00
parent 4a7ecfef5f
commit 822fb83cb4

View file

@ -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];
}