Skip to content

Commit

Permalink
validate icons comment pr
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Mar 13, 2024
1 parent f6e6410 commit e53c6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .build/validate-icons.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ types.forEach(type => {
error = true
}

if (!iconContent.includes('<!--a') || !iconContent.includes('-->')) {
if (!iconContent.includes('<!--') || !iconContent.includes('-->')) {
console.log(`⛔️ Icon \`${iconName}\` has no metadata`)
error = true
}
Expand Down

0 comments on commit e53c6fe

Please sign in to comment.