axelrindle/git-changelog-generator

TypeError: Reduce of empty array with no initial value

Closed this issue · 0 comments

Version: 1.1.0

$ git-changelog-generator -p assets,lib,src,public
  > Parsing tags ...
  > Collecting commits ...
  > Generating markdown ...
  > Writing to file /var/www/CHANGELOG.md ...
  ✖ An error occurred!
TypeError: Reduce of empty array with no initial value
    at Array.reduce (<anonymous>)
    at /opt/n/lib/node_modules/git-changelog-generator/lib/index.js:48:14