Skip to content

Commit

Permalink
fix: npm cache completion (#6464)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rch3n1ng committed May 17, 2023
1 parent 6ce99a8 commit 9202c7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/commands/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Cache extends BaseCommand {
async completion (opts) {
const argv = opts.conf.argv.remain
if (argv.length === 2) {
return ['add', 'clean', 'verify', 'ls', 'delete']
return ['add', 'clean', 'verify', 'ls']
}

// TODO - eventually...
Expand All @@ -85,7 +85,6 @@ class Cache extends BaseCommand {
case 'clean':
case 'add':
case 'ls':
case 'delete':
return []
}
}
Expand Down

0 comments on commit 9202c7d

Please sign in to comment.