diff --git a/src/index.ts b/src/index.ts index 43b3816b..d55060c4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -528,7 +528,7 @@ export function findUI() { return } - findPkgUI(cwd).then(({ uis }: any) => { + findPkgUI(cwd).then(({ uis }: any = {}) => { urlCache.set(cwd, uis) if (!uis || !uis.length) return