We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f8d05 commit 0509d6cCopy full SHA for 0509d6c
main.py
@@ -54,7 +54,7 @@ def get_pr_commit_messages() -> list[str]:
54
check=False,
55
)
56
if result.returncode == 0 and result.stdout:
57
- return [m.strip() for m in result.stdout.split("\x00") if m.strip()]
+ return [m.rstrip("\n") for m in result.stdout.split("\x00") if m.rstrip("\n")]
58
except Exception:
59
pass
60
return []
0 commit comments