cz-emoji ignores package.json config if package version format is not "x.y.z"
IgorVanian opened this issue · comments
Hello,
We have a cz-emoji
config in package.json
and after changing our package version from "x.y.z" to "x.y" (omitting the 0 patch version), git-cz is ignoring the custom config and uses the default one:
If we add the third ".0" to the version, it shows prompts specified in the config.
EDIT: The issue appears to be fixed in the latest version of this package.
From what I see, it doesn't use readPkg() to parse package.json which was failing because of the version.
The issue appears to be fixed in the latest version of this package.
From what I see, it doesn't use readPkg() to parse package.json which was failing because of the version.