mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-01 02:01:24 +00:00
style: apply prettier to the rc-guard regression test
This commit is contained in:
parent
4a7ecfef5f
commit
822fb83cb4
1 changed files with 3 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue