Remove console log statement from build-outline.mjs and eliminate unnecessary glyph.clear() call in fix-outline.py for cleaner code.

This commit is contained in:
codecalm 2025-12-14 19:06:49 +01:00
parent da51435434
commit 4990aeb956
2 changed files with 0 additions and 3 deletions

View File

@ -28,8 +28,6 @@ const buildOutline = async () => {
filesList[type] = [] filesList[type] = []
await asyncForEach(icons, async function ({ name, content, unicode }) { await asyncForEach(icons, async function ({ name, content, unicode }) {
console.log(type, name);
if (compileOptions.includeIcons.length === 0 || compileOptions.includeIcons.indexOf(name) >= 0) { if (compileOptions.includeIcons.length === 0 || compileOptions.includeIcons.indexOf(name) >= 0) {
if (unicode) { if (unicode) {

View File

@ -13,6 +13,5 @@ glyph.simplify()
glyph.simplify() glyph.simplify()
glyph.correctDirection() glyph.correctDirection()
glyph.export("./" + file) glyph.export("./" + file)
glyph.clear()
print ("Finished fixing svg outline directions!") print ("Finished fixing svg outline directions!")