Skip to content

Commit

Permalink
fix: Unknown arg for outdated command
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 13, 2024
1 parent c74e074 commit 6e2dd7b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmds/core/outdated.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

exports.command = ['outdated'];
exports.desc = 'Show all outdated dependencies';
exports.builder = yargs => yargs
.options({
'depth': {
description: 'dependency depth level to print',
requiresArg: true,
type: 'number',
group: TITLE_CMD_OPTION,
},
});

exports.handler = async (argv) => {
await UTIL.e_call(argv, 'core/outdated');
Expand Down

0 comments on commit 6e2dd7b

Please sign in to comment.