Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Sep 23, 2021
1 parent 7122387 commit 8cd2bb1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions release.config.js
Expand Up @@ -62,16 +62,16 @@ const customTransform = (commit, context) => {
}
}

console.log(commit.references)

// remove references that already appear in the subject
// commit.references = commit.references.filter(reference => {
// if (issues.indexOf(reference.issue) === -1) {
// return true;
// }
commit.references = commit.references.filter(reference => {
if (issues.indexOf(reference.issue) === -1) {
return true;
}

// return false;
// });
return false;
});
console.log(commit.references)
return commit;
};

Expand Down

0 comments on commit 8cd2bb1

Please sign in to comment.