diff --git a/.build/validate-icons.mjs b/.build/validate-icons.mjs index c474f6c5c..87586f702 100644 --- a/.build/validate-icons.mjs +++ b/.build/validate-icons.mjs @@ -53,18 +53,18 @@ types.forEach(type => { error = true } - // check duplicates in tags - if (duplicateExists(data.tags || [])) { - console.log(`⛔️ Icon \`${iconName}\` has duplicate tags`) - error = true - } - unicodes.push(data.unicode) } else if (argvs.hard) { console.log(`⛔️ Icon \`${iconName}\` has no unicode`) error = true } + // check duplicates in tags + if (duplicateExists(data.tags || [])) { + console.log(`⛔️ Icon \`${iconName}\` has duplicate tags`) + error = true + } + if (argvs.hard && !data.version) { console.log(`⛔️ Icon \`${iconName}\` has no version`) error = true diff --git a/icons/filled/bubble.svg b/icons/filled/bubble.svg index 2063604a5..60bd77a2e 100644 --- a/icons/filled/bubble.svg +++ b/icons/filled/bubble.svg @@ -1,6 +1,4 @@