Skip to content

Commit

Permalink
Minor texting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
frankywahl committed Mar 11, 2024
1 parent 6796bfc commit 21e27b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ describe('#pull-request', () => {

it('sets failed status', () => {
expect(setFailedSpy).toHaveBeenCalledWith(
expect.stringContaining('branch name does not start with a Jira ticket')
expect.stringContaining('Neither current branch nor title start with a Jira ticket')
)
})

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function run(): Promise<void> {

if (!isException) {
const regexStr = ticketRegex.toString()
core.setFailed(`The current branch name does not start with a Jira ticket ${regexStr}.`)
core.setFailed(`Neither current branch nor title start with a Jira ticket ${regexStr}.`)
}
}
if (prPreviewLine || ticketLine) {
Expand Down

0 comments on commit 21e27b8

Please sign in to comment.