From 95ce161ce5d1e2a22d2c060eb0a94d705c664ac3 Mon Sep 17 00:00:00 2001 From: Jean Dessane Date: Wed, 10 Jan 2024 10:04:38 +0100 Subject: [PATCH] fix --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 0f63eec..e8db73a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -49,7 +49,7 @@ export async function run(): Promise { 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}`)