Skip to content

Commit 8eaf37c

Browse files
fix: fix method call
1 parent 2dc3e78 commit 8eaf37c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commitizen/cz/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def format_exception_message(
133133
"commit validation: failed!\n"
134134
"please enter a commit message in the commitizen format.\n"
135135
f"{displayed_msgs_content}\n"
136-
f"pattern: {self.schema_pattern}"
136+
f"pattern: {self.schema_pattern()}"
137137
)
138138

139139
def info(self) -> str | None:

docs/customization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class CustomValidationCz(BaseCommitizen):
370370
"commit validation: failed!\n"
371371
"please enter a commit message in the commitizen format.\n"
372372
f"{displayed_msgs_content}\n"
373-
f"pattern: {self.schema_pattern}"
373+
f"pattern: {self.schema_pattern()}"
374374
)
375375
```
376376

0 commit comments

Comments
 (0)