commitizen
commitizen copied to clipboard
cz bump - Overwrites my cz.yaml emoji
Description
When I run a cz bump it overwrites my config file .cz.yaml and changes all my emojis to there \U* equivalents
Steps to reproduce
.cz.yamlFile with any link of 🚀- cz bump --increment PATCH
- look at the file
.cz.yaml🚀 can been converted to\U0001F680
Current behavior
it's changing all the emojis
Desired behavior
Leave the emojis untouched
Screenshots
Before bump
After bump
Environment
# cz version
3.27.0
# python3 -V
Python 3.12.3
# python3 -c "import platform;print(platform.system())"
Darwin
I "guess" this might be something related to encoding or the lib yaml. But could you please share the config you're using in text for us to try to reproduce? Thanks!