Skip to content

Commit

Permalink
fix: keywords might be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
amje committed Dec 19, 2022
1 parent 68e5625 commit cb6f11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function createSvgBuilder(metadata) {
}

for (const icon of iconSet.children) {
const {style, keywords} = parsePropertiesString(icon.name);
const {style, keywords = ''} = parsePropertiesString(icon.name);
const svg = iconsById[icon.id].svg;
let name = iconSet.name;

Expand Down

0 comments on commit cb6f11d

Please sign in to comment.