mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 23:32:19 +02:00
fixup error message
This commit is contained in:
parent
c82ffece5f
commit
dcae5115e7
2
.github/scripts/pr-title.ts
vendored
2
.github/scripts/pr-title.ts
vendored
@ -46,7 +46,7 @@ Terminology: [bug(ui)]: Fix female trainer names
|
|||||||
// Check if title pass regex
|
// Check if title pass regex
|
||||||
const regex = RegExp(/^\[[a-zA-Z]+(\([a-zA-Z]+\))?\]: .+/);
|
const regex = RegExp(/^\[[a-zA-Z]+(\([a-zA-Z]+\))?\]: .+/);
|
||||||
if (!regex.test(title)) {
|
if (!regex.test(title)) {
|
||||||
core.setFailed(`Pull Request title "${title}" failed to match - 'Prefix(Scope): Subject'`);
|
core.setFailed(`Pull Request title "${title}" failed to match - '[Prefix(Scope)]: Subject'`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user