Skip to content

Commit 9202c7d

Browse files
authoredMay 17, 2023
fix: npm cache completion (#6464)
1 parent 6ce99a8 commit 9202c7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎lib/commands/cache.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Cache extends BaseCommand {
7676
async completion (opts) {
7777
const argv = opts.conf.argv.remain
7878
if (argv.length === 2) {
79-
return ['add', 'clean', 'verify', 'ls', 'delete']
79+
return ['add', 'clean', 'verify', 'ls']
8080
}
8181

8282
// TODO - eventually...
@@ -85,7 +85,6 @@ class Cache extends BaseCommand {
8585
case 'clean':
8686
case 'add':
8787
case 'ls':
88-
case 'delete':
8988
return []
9089
}
9190
}

0 commit comments

Comments
 (0)
Please sign in to comment.