Skip to content

Commit

Permalink
Update check-json.js
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 27, 2023
1 parent 2b34029 commit 174dedb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/check-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const jsonIconList = Object.keys(fontJson)
const files = await fs.readdir(iconsDir)
const svgIconList = files.map(file => file.slice(0,-4))

const onlyInJson = jsonIconList.filter(i => !svgIconList.includes(i))
const onlyInSvg = svgIconList.filter(i => !jsonIconList.includes(i))
const onlyInJson = jsonIconList.filter(icon => !svgIconList.includes(icon))
const onlyInSvg = svgIconList.filter(icon => !jsonIconList.includes(icon))

if (onlyInJson.length !== 0 || onlyInSvg !== 0) {
if (onlyInJson.length > 0) {
Expand Down

0 comments on commit 174dedb

Please sign in to comment.