Skip to content

Commit

Permalink
fix: simply set resolvedDirs in case of globs option, close #246 (#247
Browse files Browse the repository at this point in the history
)
  • Loading branch information
FrancoisBosma committed Dec 13, 2021
1 parent 1f8da38 commit bef4788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/options.ts
Expand Up @@ -34,6 +34,7 @@ export function resolveOptions(options: Options, root: string): ResolvedOptions

if (resolved.globs) {
resolved.globs = toArray(resolved.globs).map((glob: string) => slash(resolve(root, glob)))
resolved.resolvedDirs = []
}
else {
const extsGlob = resolved.extensions.length === 1
Expand Down

0 comments on commit bef4788

Please sign in to comment.