Skip to content

Commit

Permalink
Fix linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr committed May 13, 2024
1 parent e097816 commit f7c5fc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-packages/cli/src/commands/generate-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const GenerateIndex = baseCommand() //
export async function generateIndices(rootDirs: string[], options: GenerateIndexCmdOptions): Promise<void> {
const dirs = rootDirs.map(rootDir => validateDirectory(path.resolve(rootDir)));
const globby = await import('globby');
const ignoreFilter = (pattern: string[], options: GlobbyOptions) => globby.globbySync(pattern, options);
const ignoreFilter: (pattern: string[], options: GlobbyOptions) => string[] = (pattern, globbyOptions) =>
globby.globbySync(pattern, globbyOptions);
dirs.forEach(dir => generateIndex(dir, ignoreFilter, options));
}

Expand Down

0 comments on commit f7c5fc5

Please sign in to comment.