JPeer264 / node-semantic-git-commit-cli

A CLI for semantic git commits
https://www.npmjs.com/package/semantic-git-commit-cli
MIT License
147 stars 11 forks source link

Adding body starts out with undefined and loses title line #77

Closed agentofuser closed 5 years ago

agentofuser commented 5 years ago

To reproduce:

Expected:

My editor comes up with the first line filled out with what I'd already typed, and lets me type in the body I want.

Actual behavior:

Editor comes up with undefined as the content. I thought the title line was added behind the scenes, but after typing the body and saving, only the body was present in the commit message, not the type or title message.

Version:

v3.2.1

JPeer264 commented 5 years ago

Hi @agentofuser Thanks for the issue. I was able to reproduce the bug - I am fixing this asap.

JPeer264 commented 5 years ago

Fixed in v3.2.2