diff options
author | Rebecca Turner <me@re-becca.org> | 2018-08-22 22:57:06 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-08-23 02:12:37 +0300 |
commit | bced18e52cd2f28dd7242d99569b452a7f3da11d (patch) | |
tree | 6df35063903a2cc33929c86c9c3dff3f4fca68d8 /scripts | |
parent | 54b4bc8201c039ff690498effe725027102f67f9 (diff) |
gen-changelog: Strip CRs from commit messages
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/changelog.js | 1 |
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)) { |