We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b8399 commit cf6fc31Copy full SHA for cf6fc31
commitizen/commands/bump.py
@@ -133,10 +133,7 @@ def find_increment(self, commits: list[git.GitCommit]) -> Increment | None:
133
raise NoPatternMapError(
134
f"'{self.config.settings['name']}' rule does not support bump"
135
)
136
- increment = bump.find_increment(
137
- commits, regex=bump_pattern, increments_map=bump_map
138
- )
139
- return increment
+ return bump.find_increment(commits, regex=bump_pattern, increments_map=bump_map)
140
141
def __call__(self) -> None: # noqa: C901
142
"""Steps executed to bump."""
0 commit comments