Skip to content

Commit

Permalink
compatibility with fast-glob
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Oct 3, 2024
1 parent 0b6c892 commit 9889a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function isDir(path: string): boolean {
}

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

if (files.length === 0) {
throw ReferenceError(
Expand Down

0 comments on commit 9889a0c

Please sign in to comment.