Skip to content

fix: default commitConvention to 'none' - #179

Merged
Berkmann18 merged 1 commit into
all-contributors:masterfrom
ehmicky:feature/commit-convention-default
Apr 18, 2019
Merged

Berkmann18 merged 1 commit into
all-contributors:masterfrom
ehmicky:feature/commit-convention-default

Conversation

@ehmicky

@ehmicky ehmicky commented Apr 18, 2019

Copy link
Copy Markdown
Contributor

Default config.commitConvention to none.

At the moment, config.commitConvention only defaults to none during the configuration generation. If the configuration has been generated using an older version of all-contributors-cli, that value will be undefined. This eventually leads the following line to crash with Cannot read property 'msg' of undefined. That line is triggered when adding new contributors.

When the configuration file is read, if commitConvention is undefined, it is set to none.

Checklist:

  • Documentation: N/A
  • Tests: N/A
  • Ready to be merged
  • Added myself to contributors table

@ehmicky

ehmicky commented Apr 18, 2019

Copy link
Copy Markdown
Contributor Author

@allcontributors[bot] please add ehmicky for code.

@allcontributors

Copy link
Copy Markdown
Contributor

@ehmicky

I've put up a pull request to add @ehmicky! 🎉

@Berkmann18 Berkmann18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for covering that edge case.

@Berkmann18
Berkmann18 merged commit e639593 into all-contributors:master Apr 18, 2019
@all-contributors-release-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 6.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ehmicky
ehmicky deleted the feature/commit-convention-default branch April 18, 2019 12:53
Berkmann18 pushed a commit that referenced this pull request May 24, 2020
* chore(package): update serverless to version 1.39.1

* chore(package): update lockfile yarn.lock

* infra: unpin serverless version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants