fix: refs #6130 test
This commit is contained in:
parent
0db4cd7a12
commit
8887550713
|
@ -22,7 +22,6 @@ if (branchName) {
|
||||||
|
|
||||||
const referenceTag = `refs #${reference}`;
|
const referenceTag = `refs #${reference}`;
|
||||||
if (!msg.includes(referenceTag) || reference) {
|
if (!msg.includes(referenceTag) || reference) {
|
||||||
|
|
||||||
const splitedMsg = msg.split(':');
|
const splitedMsg = msg.split(':');
|
||||||
|
|
||||||
if (splitedMsg.length > 1) {
|
if (splitedMsg.length > 1) {
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
echo "Running husky commit-msg hook"
|
echo "Running husky commit-msg hook"
|
||||||
npx --no-install commitlint --edit
|
npx --no-install commitlint --edit
|
||||||
echo "Adding reference tag to commit message"
|
echo "Adding reference tag to commit message"
|
||||||
pnpm run addReferenceTag
|
npm run addReferenceTag
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue