Skip to content

Commit 5a44a44

Browse files
committed
compatibility with fast-glob
1 parent 0b6c892 commit 5a44a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function isDir(path: string): boolean {
7070
}
7171

7272
async function processGlob(argIn: string, argOut: string | undefined, argv: Partial<Options>) {
73-
const files = await glob(argIn) // execute glob pattern match
73+
const files = await glob(argIn, {expandDirectories: false}) // execute glob pattern match
7474

7575
if (files.length === 0) {
7676
throw ReferenceError(

0 commit comments

Comments
 (0)