Skip to content

Commit

Permalink
fix: ensure template glob doesn't evaluate to false (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
smeijer authored Dec 12, 2024
1 parent 30f5593 commit 21225a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 21225a0

Please sign in to comment.