Skip to content

Commit 21225a0

Browse files
authored
fix: ensure template glob doesn't evaluate to false (#303)
1 parent 30f5593 commit 21225a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const main = defineCommand({
104104
})
105105
: [process.cwd()];
106106

107-
const templates = await glob(args.template ?? [], {
107+
const templates = await glob(args.template || [], {
108108
expandDirectories: false,
109109
onlyDirectories: true,
110110
absolute: true,

0 commit comments

Comments
 (0)