File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ def __call__(self):
111
111
write_message_to_file : bool = self .arguments .get ("write_message_to_file" )
112
112
signoff : bool = self .arguments .get ("signoff" )
113
113
114
+ if signoff :
115
+ out .warn (
116
+ "Deprecated warning: `cz commit -s` is deprecated and will be removed in v5, please use `cz commit -- -s` instead."
117
+ )
118
+
114
119
if self .arguments .get ("all" ):
115
120
git .add ("-u" )
116
121
@@ -133,11 +138,6 @@ def __call__(self):
133
138
if dry_run :
134
139
raise DryRunExit ()
135
140
136
- if signoff :
137
- out .warn (
138
- "signoff mechanic is deprecated, please use `cz commit -- -s` instead."
139
- )
140
-
141
141
if self .config .settings ["always_signoff" ] or signoff :
142
142
extra_args = f"{ extra_args } -s" .strip ()
143
143
You can’t perform that action at this time.
0 commit comments