Skip to content

Commit 7e9184a

Browse files
committed
refactor: add lucide icons exclusion of background checker
1 parent f746d0e commit 7e9184a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/icon.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import iconTabs from './icon-tabs';
77
import { getFileItemInnerTitleEl, getFileItemTitleEl } from '@app/util';
88
import {
99
Icon,
10+
NATIVE_LUCIDE_ICON_PACK_NAME,
1011
extractIconToIconPack,
1112
getAllIconPacks,
1213
getIconFromIconPack,
@@ -36,6 +37,10 @@ const checkMissingIcons = async (
3637
const iconPrefix = iconNameWithPrefix.substring(0, iconNextIdentifier);
3738
const iconPackName = getIconPackNameByPrefix(iconPrefix);
3839

40+
if (iconPackName === NATIVE_LUCIDE_ICON_PACK_NAME) {
41+
return;
42+
}
43+
3944
const icon = getIconFromIconPack(iconPackName, iconPrefix, iconName);
4045
if (!icon) {
4146
logger.error(

0 commit comments

Comments
 (0)