From cb6f11d4e6b6439c0d19a66fe4e7612d35950232 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 19 Dec 2022 19:27:25 +0300 Subject: [PATCH] fix: keywords might be empty --- scripts/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download.js b/scripts/download.js index e961faa..6d86344 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -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;