From 9889a0c2b67c9724c9dcb6380a389bda0ae193be Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:43:54 -0700 Subject: [PATCH] compatibility with fast-glob --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index bbbea66a..7b8a01be 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -70,7 +70,7 @@ function isDir(path: string): boolean { } async function processGlob(argIn: string, argOut: string | undefined, argv: Partial) { - 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(