Skip to content

Commit

Permalink
fix filter params
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD authored Aug 4, 2024
1 parent a0e6279 commit cfc360d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function resolveOptions(options: Options, root: string): ResolvedOptions
const resolved = Object.assign({}, defaultOptions, options) as ResolvedOptions
resolved.resolvers = normalizeResolvers(resolved.resolvers)
resolved.extensions = toArray(resolved.extensions)
resolved.excludeNames = createFilter(resolved.excludeNames)
resolved.excludeNames = createFilter(undefined, resolved.excludeNames)

if (resolved.globs) {
resolved.globs = toArray(resolved.globs).map((glob: string) => slash(resolveGlobsExclude(root, glob)))
Expand Down

0 comments on commit cfc360d

Please sign in to comment.