Skip to content

Commit 35f7b87

Browse files
committedJan 8, 2025··
fix(subcommand): pass all rawArgs
1 parent 1b35aa7 commit 35f7b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const main = defineCommand({
4848
try {
4949
const { x } = await import('tinyexec')
5050
// `tinyexec` will resolve command from local binaries
51-
await x(`nuxt-${ctx.args.command}`, ctx.args._.slice(1), {
51+
await x(`nuxt-${ctx.args.command}`, ctx.rawArgs.slice(1), {
5252
nodeOptions: { stdio: 'inherit', cwd },
5353
throwOnError: true,
5454
})

0 commit comments

Comments
 (0)
Please sign in to comment.