From 64b1c7100d24b0274d56be6c3b5acc8a7c48d1b8 Mon Sep 17 00:00:00 2001 From: Jean Dessane Date: Wed, 10 Jan 2024 10:32:40 +0100 Subject: [PATCH] fix --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 411c375..861f414 100644 --- a/dist/index.js +++ b/dist/index.js @@ -28982,7 +28982,7 @@ async function run() { issue_number: Number(pr.number) }); const linearComment = comments.data.find(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 + const ticket = linearComment?.body?.match(new RegExp(`\\b${ticketPrefix}-\\d+\\b`) // eslint-disable-line no-useless-escape ); if (ticket) { console.log(`Found ticket ${ticket}`);