Skip to content

Commit 0b1fb37

Browse files
committed
fix: change error code for NoneIncrementExit
1 parent f429a68 commit 0b1fb37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commitizen/exceptions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class ExitCode(enum.IntEnum):
2525
INVALID_COMMAND_ARGUMENT = 18
2626
INVALID_CONFIGURATION = 19
2727
NOT_ALLOWED = 20
28+
NO_INCREMENT = 21
2829

2930

3031
class CommitizenException(Exception):
@@ -56,7 +57,7 @@ class DryRunExit(ExpectedExit):
5657

5758

5859
class NoneIncrementExit(CommitizenException):
59-
exit_code = ExitCode.NO_COMMITS_FOUND
60+
exit_code = ExitCode.NO_INCREMENT
6061

6162

6263
class NoCommitizenFoundException(CommitizenException):

0 commit comments

Comments
 (0)