Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/changelog.js')
-rw-r--r--scripts/changelog.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index 1d8db9272..c32e094ff 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -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