Skip to content

Commit 6e1c109

Browse files
small fix
1 parent bc488f9 commit 6e1c109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/walker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import fs from 'fs/promises';
66
import path from 'path';
77
import { builtinModules } from 'module';
88
import picomatch from 'picomatch';
9-
import { globSync } from 'tinyglobby';
9+
import { globSync, isDynamicPattern } from 'tinyglobby';
1010

1111
import {
1212
ALIAS_AS_RELATIVE,
@@ -206,7 +206,7 @@ function collect(ps: string[]) {
206206
}
207207
}
208208

209-
if (globPatterns.length !== 0) {
209+
if (patterns.length !== 0) {
210210
return [...paths, ...globSync(patterns, { absolute: true, dot: true })];
211211
}
212212

0 commit comments

Comments
 (0)