leoforfree / cz-customizable

A standalone commit message helper or customizable commitizen adapter for https://github.com/commitizen/cz-cli
MIT License
604 stars 201 forks source link

getting 'false' as suggested commit message when usePreparedCommit is false. #206

Open jainanuj0812 opened 2 years ago

jainanuj0812 commented 2 years ago

https://github.com/leoforfree/cz-customizable/blob/bfe92140a58e0242c404b0f0edac3d06cfe2c200/lib/questions.js#L157

I think above line should be

config.usePreparedCommit ? getPreparedCommit('body') : ''