Closed mehdicopter closed 1 year ago
It does work when I did fix the code within the json file
{
"emoji": "👷",
"entity": "👷",
"code": ":construction_worker_man:",
"description": "Add or update CI build system.",
"name": "construction-worker",
"semver": null
},
I did change :construction_worker:
into :construction_worker_man:
You can verify it by this code snippet
const name = require("emoji-name-map");
const unicode = require("emoji-unicode-map");
console.log(name.get(":construction_worker:")); // undefined
console.log(unicode.get("👷")); // construction_worker_man
fixed in commitlint-plugin-gitmoji@2.2.5
Hello,
I found a bug using the emoji 👷♂️
When I use the code the test passes
But when I use the emoji itself it fails
It happens with several other emojis as well