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:
parent
25cda0db68
commit
ad8cbcc75a
@ -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);
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user