We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99914b6 commit 13dab8eCopy full SHA for 13dab8e
src/index.ts
@@ -237,7 +237,7 @@ class CAC extends EventEmitter {
237
238
const minimalArgsCount = command.args.filter(arg => arg.required).length
239
240
- if (command.args.length < minimalArgsCount) {
+ if (args.length < minimalArgsCount) {
241
console.error(
242
`error: missing required args for command \`${command.rawName}\``
243
)
0 commit comments