Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding symbol: true in config results in error. #101

Open
dev-nayeem-53 opened this issue Dec 30, 2024 · 0 comments
Open

Adding symbol: true in config results in error. #101

dev-nayeem-53 opened this issue Dec 30, 2024 · 0 comments

Comments

@dev-nayeem-53
Copy link

dev-nayeem-53 commented Dec 30, 2024

This is my config in package.json
"config": { "commitizen": { "path": "cz-emoji" }, "cz-emoji": { "conventional": true, "types": [ { "emoji": "🎨", "code": "🎨", "description": "Improving structure / format of the code.", "name": "style" }, { "emoji": "⚡️", "code": "⚡️", "description": "Improving performance.", "name": "perf" }, { "emoji": "🔥", "code": "🔥", "description": "Removing code or files.", "name": "prune" }, { "emoji": "🐛", "code": "🐛", "description": "Fixing a bug.", "name": "fix" }, { "emoji": "🚑", "code": "🚑", "description": "Critical hotfix.", "name": "quickfix" }, { "emoji": "✨", "code": "✨", "description": "Introducing new features.", "name": "feature" }, { "emoji": "💄", "code": "💄", "description": "Updating the UI and style files.", "name": "ui" }, { "emoji": "🎉", "code": "🎉", "description": "Initial commit.", "name": "init" }, { "emoji": "✅", "code": "✅", "description": "Adding tests.", "name": "test" }, { "emoji": "🚧", "code": "🚧", "description": "Work in progress.", "name": "wip" }, { "emoji": "♻️", "code": "♻️", "description": "Refactoring code.", "name": "refactor" }, { "emoji": "🚚", "code": "🚚", "description": "Moving or renaming files.", "name": "mv" }, { "emoji": "💥", "code": "💥", "description": "Introducing breaking changes.", "name": "breaking" }, { "emoji": "👔", "code": "👔", "description": "Add or update business logic", "name": "necktie" }, { "emoji": "🧱", "code": "🧱", "description": "Infrastructure related changes.", "name": "bricks" }, { "emoji": "🧑‍💻", "code": "🧑‍💻", "description": "Improve developer experience", "name": "technologist" } ] } }

if i add symbol: true, it gives this error can not read properties of undefined. (reading name)

please note, i have changed both code and emoji to same after giving this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant