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 authored and zkat committed Aug 22, 2018
1 parent 54b4bc8 commit bced18e
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 bced18e

Please sign in to comment.