Skip to content

Commit

Permalink
fix: Update error message to be consistent with what is being enforced (
Browse files Browse the repository at this point in the history
  • Loading branch information
despairblue authored Feb 5, 2024
1 parent 903af9f commit 43694fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ERRORS = {
"PR title does not match PR title convention: type: subject or type(scope): subject",
`For \`type\`, use \`type:\` or \`type(scope):\`, where \`type\` is one of ${displayTypes}`,
`If present, \`scope\` must be one of ${displayScopes} or \`<displayName> Node\``,
"For the subject, mind the whitespace, start with lowercase and omit final period",
"For the subject, mind the whitespace, start with uppercase and omit final period",
].join(". "),
TICKET_NUMBER_PRESENT: "PR title must not contain a ticket number",
TYPE_NOT_FOUND: `Failed to find \`type\` in PR title. Expected one of ${displayTypes}`,
Expand Down

0 comments on commit 43694fc

Please sign in to comment.