mirror of
https://github.com/iconify/iconify.git
synced 2025-01-22 14:48:24 +00:00
chore: add await
loading collection from fs
This commit is contained in:
parent
bb285192a2
commit
bbe56e3199
@ -59,7 +59,7 @@ async function loadNodeBuiltinIcon(
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
const { loadCollectionFromFS } = await importFsModule();
|
||||
const iconSet = loadCollectionFromFS(collection, options?.autoInstall);
|
||||
const iconSet = await loadCollectionFromFS(collection, options?.autoInstall);
|
||||
if (iconSet) {
|
||||
// possible icon names
|
||||
const ids = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user