Skip to content

Commit 49bb71b

Browse files
yjawbearomorphism
andauthored
Apply suggestion from @bearomorphism
Co-authored-by: Tim Hsiung <bear890707@gmail.com>
1 parent 1f74bb2 commit 49bb71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commitizen/commands/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _rewrap_body(self, message: str) -> str:
115115
): # do nothing for no limit
116116
return message
117117

118-
message_parts = message.split("\n", 2)
118+
lines = message.split("\n")
119119
if len(message_parts) < 3:
120120
return message
121121

0 commit comments

Comments
 (0)