1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-01-17 04:38:28 +01:00

check-unicodes script

This commit is contained in:
codecalm 2023-01-25 23:29:53 +01:00
parent 25cda0db68
commit ad8cbcc75a

View File

@ -15,8 +15,6 @@ glob(path.join(ICONS_SRC_DIR, '*.svg'), {}, function(er, files) {
if (matches[1]) {
const unicode = matches[1]
console.log('unicode', unicode, unicodes.indexOf(unicode));
if (unicode && unicodes.indexOf(unicode) === -1) {
unicodes.push(unicode)
} else {
@ -26,9 +24,6 @@ glob(path.join(ICONS_SRC_DIR, '*.svg'), {}, function(er, files) {
throw new Error(`Icon ${file} don't have a unicode!`)
}
}
console.log('unicodes', unicodes);
})