cz init
failed if there is already a config with identical filename (json format)
#576
Labels
cz init
failed if there is already a config with identical filename (json format)
#576
Description
Run
cz init
failed if there is already a config with identical filename (json format).Steps to reproduce
Current behavior
Initialization failed. Error outputs are attached below.
Desired behavior
Correctly detected there is already a config file. But I am not sure what should
cz init
do next. It seems to be a undefined behavior currently.Screenshots
No response
Environment
Commitizen Version: 2.32.3
Python Version: 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0]
Operating System: Linux
The text was updated successfully, but these errors were encountered: