cz-customizable icon indicating copy to clipboard operation
cz-customizable copied to clipboard

Commit on Windows not committing the entire message

Open davidhouweling opened this issue 4 years ago • 2 comments

Machine: Windows 10 Pro Version 2004 Setup: using option 2 - standalone

Issue: after filling out all the prompts, when you check the commit message it only includes the title. It doesn't include the body or footer content in the entirety is there as part of https://github.com/leoforfree/cz-customizable/blob/65d364656a0bd61b8146a3e42cdd720158ebcc96/standalone.js#L13

I verified it by doing a console.log and can see the content appropriately being multi-lined. I'm thinking its an issue with the git commit statement where for Windows we should use multiple -m commands instead of trying to do pass it all into 1. Alternatively try using a tool like cross-spawn or execa instead of the inbuilt child_process.

davidhouweling avatar Aug 19 '20 11:08 davidhouweling

I decided to try using commitizen with option 1 - as a commitizen plugin and its working that way.

davidhouweling avatar Aug 19 '20 12:08 davidhouweling

Any updates?

ronyf avatar Dec 22 '20 18:12 ronyf