Skip to content

Commit 1646b1d

Browse files
committed
fix: change error code for NoneIncrementExit
1 parent c2235be commit 1646b1d

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
@@ -24,6 +24,7 @@ class ExitCode(enum.IntEnum):
2424
CURRENT_VERSION_NOT_FOUND = 17
2525
INVALID_COMMAND_ARGUMENT = 18
2626
INVALID_CONFIGURATION = 19
27+
NO_INCREMENT = 20
2728

2829

2930
class CommitizenException(Exception):
@@ -55,7 +56,7 @@ class DryRunExit(ExpectedExit):
5556

5657

5758
class NoneIncrementExit(CommitizenException):
58-
exit_code = ExitCode.NO_COMMITS_FOUND
59+
exit_code = ExitCode.NO_INCREMENT
5960

6061

6162
class NoCommitizenFoundException(CommitizenException):

0 commit comments

Comments
 (0)