7253-devToTest_2418 #2350

Merged
alexm merged 320 commits from 7253-devToTest_2418 into test 2024-04-23 08:02:46 +00:00
3 changed files with 4 additions and 7 deletions
Showing only changes of commit 40473d0cc9 - Show all commits

View File

@ -21,7 +21,7 @@ if (branchName) {
const reference = branchName.match(/^\d+/);
const referenceTag = `refs #${reference}`;
if (!msg.includes(referenceTag) || reference) {
if (!msg.includes(referenceTag) && reference) {
const splitedMsg = msg.split(':');
if (splitedMsg.length > 1) {

View File

@ -4,5 +4,5 @@
echo "Running husky commit-msg hook"
npx --no-install commitlint --edit
echo "Adding reference tag to commit message"
npm run addReferenceTag
node .husky/addReferenceTag.js

View File

@ -113,10 +113,7 @@
"test:e2e": "node e2e/tests.js",
"test:front": "jest --watch",
"back": "nodemon --inspect -w modules ./node_modules/gulp/bin/gulp.js back",
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
"commitlint": "commitlint --edit",
"prepare": "husky install",
"addReferenceTag": "node .husky/addReferenceTag.js"
"lint": "eslint ./ --cache --ignore-pattern .gitignore"
},
"jest": {
"projects": [