Skip to content

Commit

Permalink
Update scripts/utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: SanD <[email protected]>
  • Loading branch information
tristen and AlexanderBelokon authored Jan 3, 2025
1 parent 45bdaef commit ff3873a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function gatherIcons(iconPath) {
svgs.map(svg => {
// Need to create a parser for each svg
const parser = new xml2js.Parser();
const pParse = pify(parser.parseString);
const pParse = util.promisify(parser.parseString);
return pParse(svg);
})
);
Expand Down

0 comments on commit ff3873a

Please sign in to comment.