forked from commitizen/cz-conventional-changelog
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add default values to options (commitizen#69)
For my own workflow, I made an adapter to allow passing default values in gleaned from the branch name, but needed to somehow get those values into this adapter, and I thought this was a good way to achieve this goal. With these changes, my custom adapter can be like this: ``` process.env.CZ_TYPE = "fix" module.exports = require("cz-conventional-changelog") ``` Instead of having to copy everything.
- Loading branch information
1 parent
ef8cb5f
commit 76e0ddb
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters