fix: husky
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-04-12 13:23:36 +02:00
parent f0604bedd0
commit 827f152783
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if (branchName) {
const referenceTag = `refs #${reference}`; const referenceTag = `refs #${reference}`;
console.log('reference: ', reference); console.log('reference: ', reference);
console.log('asd', !msg.includes(referenceTag)); console.log('asd', !msg.includes(referenceTag));
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) {