diff --git a/packages/cli/index.ts b/packages/cli/index.ts index 6c654b9..f0e4b54 100644 --- a/packages/cli/index.ts +++ b/packages/cli/index.ts @@ -104,7 +104,7 @@ const main = defineCommand({ }) : [process.cwd()]; - const templates = await glob(args.template ?? [], { + const templates = await glob(args.template || [], { expandDirectories: false, onlyDirectories: true, absolute: true,