Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jean9696 committed Jan 10, 2024
1 parent c55c26e commit 95ce161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function run(): Promise<void> {
c => c.performed_via_github_app?.name === 'Linear'
)
const ticket = linearComment?.body?.match(
new RegExp(`\b${ticketPrefix}-\d+\b`) // eslint-disable-line no-useless-escape
new RegExp(`\\b${ticketPrefix}-\\d+\\b`) // eslint-disable-line no-useless-escape
)
if (ticket) {
console.log(`Found ticket ${ticket}`)
Expand Down

0 comments on commit 95ce161

Please sign in to comment.