diff --git a/lib/commands/cache.js b/lib/commands/cache.js index 587bcbe84ff5d..a0d18f61ed6e1 100644 --- a/lib/commands/cache.js +++ b/lib/commands/cache.js @@ -116,7 +116,7 @@ class Cache extends BaseCommand { case 'ls': return await this.ls(args) default: - throw this.usageError(this.usage) + throw this.usageError() } }