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
Activity
nozomuikuta commentedon May 25, 2023
@zuixinwang
Would you provide a minimal reproduction so that everyone can understand your issue more clearly?
zuixinwang commentedon May 25, 2023
Yes, here is the reproduction link. 🐶 @nozomuikuta