You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added a new subcommand named undefined in playground/cli.ts. Still, when I execute pnpm play without extra parameters, the console does not prompt that the command was not found but instead executes the undefined subcommand I defined.
I have checked the source code and am not sure why the "&& !cmd.run" condition is required here
Describe the bug
I have added a new subcommand named undefined in playground/cli.ts. Still, when I execute pnpm play without extra parameters, the console does not prompt that the command was not found but instead executes the undefined subcommand I defined.
I have checked the source code and am not sure why the "&& !cmd.run" condition is required here
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
18.16.0
Reproduction
I have added a new subcommand named undefined in playground/cli.ts. Still, when I execute pnpm play without extra parameters, the console does not prompt that the command was not found but instead executes the undefined subcommand I defined.
I have checked the source code and am not sure why the "&& !cmd.run" condition is required here
Describe the bug
I have added a new subcommand named undefined in playground/cli.ts. Still, when I execute pnpm play without extra parameters, the console does not prompt that the command was not found but instead executes the undefined subcommand I defined.
I have checked the source code and am not sure why the "&& !cmd.run" condition is required here
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: