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:
parent
da51435434
commit
4990aeb956
|
|
@ -28,8 +28,6 @@ const buildOutline = async () => {
|
|||
filesList[type] = []
|
||||
|
||||
await asyncForEach(icons, async function ({ name, content, unicode }) {
|
||||
console.log(type, name);
|
||||
|
||||
if (compileOptions.includeIcons.length === 0 || compileOptions.includeIcons.indexOf(name) >= 0) {
|
||||
|
||||
if (unicode) {
|
||||
|
|
|
|||
|
|
@ -13,6 +13,5 @@ glyph.simplify()
|
|||
glyph.simplify()
|
||||
glyph.correctDirection()
|
||||
glyph.export("./" + file)
|
||||
glyph.clear()
|
||||
|
||||
print ("Finished fixing svg outline directions!")
|
||||
|
|
|
|||
Loading…
Reference in New Issue