Skip to content

Commit

Permalink
fix: npm cache completion (#6464)
Browse files Browse the repository at this point in the history
m4rch3n1ng authored May 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
@@ -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...
@@ -85,7 +85,6 @@ class Cache extends BaseCommand {
case 'clean':
case 'add':
case 'ls':
case 'delete':
return []
}
}

0 comments on commit 9202c7d

Please sign in to comment.