Skip to content

Commit bef4788

Browse files
fix: simply set resolvedDirs in case of globs option, close #246 (#247)
1 parent 1f8da38 commit bef4788

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/options.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function resolveOptions(options: Options, root: string): ResolvedOptions
3434

3535
if (resolved.globs) {
3636
resolved.globs = toArray(resolved.globs).map((glob: string) => slash(resolve(root, glob)))
37+
resolved.resolvedDirs = []
3738
}
3839
else {
3940
const extsGlob = resolved.extensions.length === 1

0 commit comments

Comments
 (0)