Closed ivanhercaz closed 4 years ago
Hi @ivanhercaz, thank you for the report 👍
I need to improve this error message! The json in your configuration file is not valid. You can use some online tool like JSONLint to check the validity of your json. Here is a valid one:
{
"project":{
"name":"Buruma",
"description":"a Pelican theme with Bulma (CSS Framework)",
"version":"0.1.0"
},
"commitMapping":[
{
"group":"documentation",
"label":"Documentation",
"emojis":[
"pencil",
"bulb"
]
},
{
"group":"internationalization",
"label":"Internationalization/localization",
"emojis":[
"globe_with_meridians"
]
}
]
}
Does it works with with it?
The json in your configuration file is not valid.
Ups! That's true. It was very late I think :tired_face: The next time with a similar error I will use a linter to check if the configuration has any error before to report anything.
@frinyvonnick, thank you very much for this feature and your help!
You're welcome!
I was trying to work with the new feature (#155), suggested in #154, that allow the users to add a configuration file to customize the commit mapping. I tried to implement this for the next release of a project in which I am working, but when I run
gitmoji-changelog --preset generic
I get the next traceback:My
.gitmoji-changelogrc
contains exactly the next block:I think the most probably is that I am doing something wrong, but at this moment I don't know what. Could you help me with this issue?
Thanks in advance!