Skip to content

Commit

Permalink
gen-changelog: Strip CRs from commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna committed Aug 22, 2018
1 parent 4bc4d22 commit 6a04d75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 6a04d75

Please sign in to comment.