diff --git a/scripts/generateChangedIconsCommentMarkup.mjs b/scripts/generateChangedIconsCommentMarkup.mjs index 287dce669..a7d2282dc 100644 --- a/scripts/generateChangedIconsCommentMarkup.mjs +++ b/scripts/generateChangedIconsCommentMarkup.mjs @@ -43,7 +43,7 @@ const getImageTagsByFiles = (files, getBaseUrl, width) => return `${file}`; }); -const svgFiles = readSvgDirectory(ICONS_DIR).map((file) => `icons/${file}`); +const svgFiles = await readSvgDirectory(ICONS_DIR).map((file) => `icons/${file}`); const iconsFilteredByName = (search) => svgFiles.filter((file) => file.includes(search));