Skip to content

Commit

Permalink
Update check-icons.js (#1682)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 4, 2023
1 parent d7747f9 commit 8cd4cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/check-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const iconsDir = path.join(__dirname, '../icons/')
const svgFiles = await fs.readdir(iconsDir)

const jsonIconList = Object.keys(fontJson)
const svgIconList = svgFiles.map(svg => path.basename(svg, path.extname(svg)))
const svgIconList = svgFiles.map(svg => path.basename(svg, '.svg'))

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

0 comments on commit 8cd4cad

Please sign in to comment.