Skip to content

Commit

Permalink
chore: remove debug console.logs from changelog script (npm#4944)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Jun 1, 2022
1 parent a8ae177 commit 7bd12d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,7 @@ const generateRelease = async (args) => {
// so we try to grab it from the end of the commit title
// since thats where it goes by default
const [, titleNumber] = title.match(/\s+\(#(\d+)\)$/) || []
console.log(prs, titleNumber)
if (titleNumber && !prs.find((pr) => pr.number === +titleNumber)) {
console.log('no title')
try {
// it could also reference an issue so we do one extra check
// to make sure it is really a pr that has been merged
Expand Down

0 comments on commit 7bd12d5

Please sign in to comment.