Skip to content

Commit

Permalink
Add non-persistent user-supplied option support for subcommands
Browse files Browse the repository at this point in the history
...by adding missing parameter in the _parseCommand() call in
_dispatchSubcommand().
  • Loading branch information
aweebit committed Jul 29, 2023
1 parent 3572657 commit def6df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ Use .parseAsync() instead.`);
if (subCommand._executableHandler) {
this._executeSubCommand(subCommand, operands.concat(unknown));
} else {
return subCommand._parseCommand(operands, unknown);
return subCommand._parseCommand(operands, unknown, this._asyncParsing);
}
});
return hookResult;
Expand Down

0 comments on commit def6df9

Please sign in to comment.