Skip to content

Commit c56874e

Browse files
committed
make minor variable rename
1 parent 40fd62e commit c56874e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ const ICON_FAMILIES = [
1010
{ id: 'materialsymbolssharp', postfix: 'Sharp' },
1111
]
1212

13-
const getIncludedFamilies = (families) => {
14-
const notIncludedFamilies = families.map((family) =>
13+
const getIncludedFamilies = (unsupportedFamilies) => {
14+
const unsupportedFamilyIds = unsupportedFamilies.map((family) =>
1515
family.replace(/\s+/g, '').toLowerCase(),
1616
)
1717
return ICON_FAMILIES.filter(
18-
(family) => !notIncludedFamilies.includes(family.id),
18+
(family) => !unsupportedFamilyIds.includes(family.id),
1919
)
2020
}
2121

0 commit comments

Comments
 (0)