Skip to content

Commit

Permalink
chore(dependencies): fix vulnerabilities (oleg-koval#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Sep 23, 2021
1 parent ffd4a06 commit c94afa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release.config.js
Expand Up @@ -32,6 +32,7 @@ const customTransform = (commit, context) => {
}

if (typeof commit.hash === `string`) {
console.log("commit", commit.hash);
commit.shortHash = commit.hash.substring(0, 7);
}

Expand Down Expand Up @@ -63,14 +64,15 @@ const customTransform = (commit, context) => {
}

// remove references that already appear in the subject
console.log("🚀 ~ file: release.config.js ~ line 74 ~ customTransform ~ commit.references", commit.references)
commit.references = commit.references.filter(reference => {
if (issues.indexOf(reference.issue) === -1) {
return true;
}

return false;
});

console.log("🚀 ~ file: release.config.js ~ line 75 ~ customTransform ~ commit.references", commit.references)
return commit;
};

Expand Down

0 comments on commit c94afa0

Please sign in to comment.