Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: reduce of empty value #12

Open
scottnath opened this issue Sep 13, 2016 · 1 comment
Open

bug: reduce of empty value #12

scottnath opened this issue Sep 13, 2016 · 1 comment
Labels

Comments

@scottnath
Copy link
Contributor

When running semantic release on modules with an issue with their commit history, then the missing array causes a bug which may be blocking the release to npm process.

Steps for Reproducing

Error:

npm run semantic-release
> eslint-config-punchcard@ semantic-release /home/travis/build/punchcard-cms/eslint-config-punchcard
> semantic-release pre && npm publish && semantic-release post
/home/travis/build/punchcard-cms/eslint-config-punchcard/node_modules/punchcard-semantic-release/analyze.js:82
  }).sort().reduce((prev, curr) => {
            ^
TypeError: Reduce of empty array with no initial value
@scottnath scottnath added the bug label Sep 13, 2016
@joshkimmell
Copy link

@scottnath to research if this is fixed or not. If not, please estimate and we'll discuss at grooming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants