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:
authorRebecca Turner <me@re-becca.org>2018-08-22 22:57:06 +0300
committerKat Marchán <kzm@zkat.tech>2018-08-23 02:12:37 +0300
commitbced18e52cd2f28dd7242d99569b452a7f3da11d (patch)
tree6df35063903a2cc33929c86c9c3dff3f4fca68d8 /scripts
parent54b4bc8201c039ff690498effe725027102f67f9 (diff)
gen-changelog: Strip CRs from commit messages
Diffstat (limited to 'scripts')
-rw-r--r--scripts/changelog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/changelog.js b/scripts/changelog.js
index 649383718..3cedb9efb 100644
--- a/scripts/changelog.js
+++ b/scripts/changelog.js
@@ -71,6 +71,7 @@ function printCommit (c) {
function main () {
let commit
log.forEach(function (line) {
+ line = line.replace(/\r/g, '')
let m
/* eslint no-cond-assign:0 */
if (/^---$/.test(line)) {