diff --git a/build.js b/build.js index a921f9e..5c8d621 100644 --- a/build.js +++ b/build.js @@ -80,7 +80,7 @@ const emojify = text => { const result = text.replace(colonWrapped, match => { const name = match.replace(/:/g, ''); const url = emojiMapURL[name]; - return `${name}`; + return url ? `${name}` : match; }); return result || text; }; @@ -117,17 +117,11 @@ const formatEntry = ( description, homepage, stargazers_count: stargazers, - // subscribers_count: watchers, pushed_at: updated, - // open_issues: issues, - // forks, language, license, owner, categoryName, - // categoryDescription, - // status, - // ownerType, }, i, ) => @@ -171,8 +165,8 @@ const buttonHTLM = valueNames const processMetadata = metaData => [ `
`, - ``, - `

Sort by

${buttonHTLM}
`, + ``, + `

Sort by

${buttonHTLM}
`, `
`, '