Skip to content

Commit 8628cb8

Browse files
committed
fix(cz): fix merge_style usage error
#37
1 parent 129c58c commit 8628cb8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commitizen/cz/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def message(self, answers: dict) -> str:
3535

3636
@property
3737
def style(self):
38-
return merge_styles(BaseCommitizen.default_style_config, Style(self.config["style"]))
38+
return merge_styles(
39+
[BaseCommitizen.default_style_config, Style(self.config["style"])]
40+
)
3941

4042
def example(self) -> str:
4143
"""Example of the commit message."""

0 commit comments

Comments
 (0)