sorenlouv / backport

A simple CLI tool that automates the process of backporting commits on a GitHub repo

Home Page:https://github.com/sqren/backport/blob/main/docs/config-file-options.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Fails when commit message is empty

bashtage opened this issue · comments

Seeing a fatal error when the commit message is empty:

Cannot read properties of null (reading 'message')

Presumably there is no reason why this should be required and it should work with an empty commit message (some commits only have titles)

Hi there, do you have a stack trace? Perhaps look in the backport.log file.

I am not able to reproduce this bug. I added a commit with no commit message, and was able to backport it:
backport-org/backport-demo#82

Can you try upgrading to the latest version of backport (7.0.0) and see if that fixes the problem?

npm install backport@7.0.0 -g

Thanks!

Closing due to inactivity. Feel free to comment or re-open if this happens again.