Skip to content

Commit 884d70d

Browse files
committed
fix(create-nuxt): do not show usage if dir is not provided
1 parent ac9d42b commit 884d70d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/create-nuxt/src/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ export const main = defineCommand({
2222
await checkEngines().catch(err => logger.error(err))
2323
}
2424

25-
if (!ctx.args.dir) {
26-
showUsage(main)
27-
}
28-
2925
await init.run?.(ctx)
3026
},
3127
})

0 commit comments

Comments
 (0)