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 3c62543 commit 1acdc4aCopy full SHA for 1acdc4a
commitizen/commands/changelog.py
@@ -200,7 +200,8 @@ def __call__(self) -> None:
200
raise NotAllowed("--incremental cannot be combined with a rev_range")
201
202
# Don't continue if no `file_name` specified.
203
- assert self.file_name
+ if not self.file_name:
204
+ raise NotAllowed("filename is required.")
205
206
tags = self.tag_rules.get_version_tags(git.get_tags(), warn=True)
207
changelog_meta = changelog.Metadata()
0 commit comments