mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-01-17 04:38:28 +01:00
validation fixes
This commit is contained in:
parent
2f1b5cc3be
commit
d907b20bdf
@ -53,18 +53,18 @@ types.forEach(type => {
|
|||||||
error = true
|
error = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// check duplicates in tags
|
|
||||||
if (duplicateExists(data.tags || [])) {
|
|
||||||
console.log(`⛔️ Icon \`${iconName}\` has duplicate tags`)
|
|
||||||
error = true
|
|
||||||
}
|
|
||||||
|
|
||||||
unicodes.push(data.unicode)
|
unicodes.push(data.unicode)
|
||||||
} else if (argvs.hard) {
|
} else if (argvs.hard) {
|
||||||
console.log(`⛔️ Icon \`${iconName}\` has no unicode`)
|
console.log(`⛔️ Icon \`${iconName}\` has no unicode`)
|
||||||
error = true
|
error = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check duplicates in tags
|
||||||
|
if (duplicateExists(data.tags || [])) {
|
||||||
|
console.log(`⛔️ Icon \`${iconName}\` has duplicate tags`)
|
||||||
|
error = true
|
||||||
|
}
|
||||||
|
|
||||||
if (argvs.hard && !data.version) {
|
if (argvs.hard && !data.version) {
|
||||||
console.log(`⛔️ Icon \`${iconName}\` has no version`)
|
console.log(`⛔️ Icon \`${iconName}\` has no version`)
|
||||||
error = true
|
error = true
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
<!--
|
<!--
|
||||||
category: Communication
|
|
||||||
tags: [comment, chat, reply, communication, conversation, faq, message, text]
|
|
||||||
-->
|
-->
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 626 B |
@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
category: Maps
|
category: Maps
|
||||||
tags: [playground, park, monkey, bar, jungle, gym, exercise, fitness, outdoor, fun, children, kids, play, swing, jungle gym, jungle gym]
|
tags: [playground, park, monkey, bar, jungle, gym, exercise, fitness, outdoor, fun, children, kids, play, swing, jungle gym]
|
||||||
-->
|
-->
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 511 B |
Loading…
x
Reference in New Issue
Block a user