Skip to content

Commit

Permalink
Fix build on newer node versions
Browse files Browse the repository at this point in the history
maxStringLength option added to util.inspect.
  • Loading branch information
simonnilsson committed Oct 3, 2022
1 parent 8dd5af8 commit c945eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/icon-definitions-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function iconDefinitionsResolver() {
console.log('Compiled', code.icons.length + 1, 'icons');

return {
code: 'export default ' + util.inspect(code, { maxArrayLength: Infinity, depth: Infinity }),
code: 'export default ' + util.inspect(code, { maxArrayLength: Infinity, depth: Infinity, maxStringLength: Infinity }),
map: { mappings: '' },
}
}
Expand Down

0 comments on commit c945eab

Please sign in to comment.