Skip to content

Commit 74c6134

Browse files
committed
refactor: changed stdout statements
1 parent cbc7b5f commit 74c6134

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

commitizen/commands/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __call__(self):
2020
if not answers:
2121
raise SystemExit(NO_ANSWERS)
2222
m = cz.message(answers)
23-
23+
out.info(f"\n{m}\n")
2424
c = git.commit(m)
2525

2626
if c.err:

commitizen/git.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def get_commits(start: str, end: str = "HEAD", from_beginning: bool = False) ->
2626

2727
if not c.out:
2828
return []
29-
print(c.out)
3029
return c.out.split("\n")
3130

3231

0 commit comments

Comments
 (0)