File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const axios = require('axios')
55// This is the number of icons each thread will be downloading
66const DOWNLOAD_CHUNK_SIZE = 500
77const GOOGLE_FONTS_URL = 'https://fonts.google.com/metadata/icons'
8- const ICON_FAMILTIES = [
8+ const ICON_FAMILIES = [
99 { id : 'materialicons' , namePostfix : '' } ,
1010 { id : 'materialiconsoutlined' , namePostfix : 'Outlined' } ,
1111 { id : 'materialiconsround' , namePostfix : 'Round' } ,
@@ -73,8 +73,8 @@ async function generateComponent(icons) {
7373 for ( let i = 0 ; i < icons . length ; i ++ ) {
7474 const icon = icons [ i ]
7575
76- for ( let j = 0 ; j < ICON_FAMILTIES . length ; j ++ ) {
77- const family = ICON_FAMILTIES [ j ]
76+ for ( let j = 0 ; j < ICON_FAMILIES . length ; j ++ ) {
77+ const family = ICON_FAMILIES [ j ]
7878
7979 const name = formatName ( icon . name , family . namePostfix )
8080 const svg = await getSVGFile ( icon . name , family . id , icon . version )
You can’t perform that action at this time.
0 commit comments