From 8cd2bb1bd2fa07b7a1778ddceeaeccfddb6c3a99 Mon Sep 17 00:00:00 2001 From: Oleg Koval Date: Thu, 23 Sep 2021 20:14:04 +0300 Subject: [PATCH] chore: debug --- release.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/release.config.js b/release.config.js index 8bd65c6..78eadf4 100644 --- a/release.config.js +++ b/release.config.js @@ -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; };