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