From 0b5ebb9b327b1f9393453438381fdd536d8a2b80 Mon Sep 17 00:00:00 2001 From: Luc SORIGNET Date: Sun, 4 May 2025 13:37:05 +0200 Subject: [PATCH] chore: husky update --- scripts/prepare-commit-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare-commit-msg.js b/scripts/prepare-commit-msg.js index 1e95184..5f57daa 100644 --- a/scripts/prepare-commit-msg.js +++ b/scripts/prepare-commit-msg.js @@ -26,7 +26,7 @@ function formatCommitMessageFromBranchName(branchName) { const type = match[1]; const idTicket = match[2]; const featureName = match[3]; - return `${type}: ${featureName.replace(/[-_]/g, " ")} [${idTicket}]`; + return `${type}: ${featureName.replace(/[-_]/g, " ")} [#${idTicket}]`; } else if (matchWithoutTicket) { const type = matchWithoutTicket[1]; const featureName = matchWithoutTicket[2];