From 5a44a4480f79246b7038bb023fd634767afcb2e4 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..3976b75f 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(