Skip to content

Commit

Permalink
fix: resolve default value for config commitConvention
Browse files Browse the repository at this point in the history
  • Loading branch information
tenshiAMD committed Oct 7, 2022
1 parent 3cbe912 commit 0de07c6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
4 changes: 4 additions & 0 deletions lib/modules/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ class Config {
options.files = ["README.md"];
}

if (!options.commitConvention) {
options.commitConvention = "angular";
}

if (!Number.isInteger(options.contributorsPerLine)) {
options.contributorsPerLine = 7;
}
Expand Down
Loading

1 comment on commit 0de07c6

@vercel
Copy link

@vercel vercel bot commented on 0de07c6 Oct 7, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.