Comparing version 3.1.4 to 3.1.5
@@ -29,4 +29,3 @@ 'use strict'; | ||
this.outputHelp(); | ||
logger.error(); | ||
process.exit(1); | ||
util.exit(1); | ||
} | ||
@@ -69,5 +68,5 @@ commander.Command.prototype.unknownOption = unknownOption; | ||
exit: 'keep the browser open after tests finish', | ||
cachePath: 'print the cypress binary cache path', | ||
cacheList: 'list the currently cached versions', | ||
cacheClear: 'delete the Cypress binary cache', | ||
cachePath: 'print the path to the binary cache', | ||
cacheList: 'list cached binary versions', | ||
cacheClear: 'delete all cached binaries', | ||
group: 'a named group for recorded runs in the Cypress dashboard', | ||
@@ -145,4 +144,9 @@ parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes', | ||
program.command('cache').usage('[command]').description('Manages the Cypress binary cache').option('list', text('cacheList')).option('path', text('cachePath')).option('clear', text('cacheClear')).action(function (opts) { | ||
if (!_.isString(opts)) { | ||
this.outputHelp(); | ||
util.exit(1); | ||
} | ||
if (opts.command || !_.includes(['list', 'path', 'clear'], opts)) { | ||
unknownOption.call(this, 'cache ' + opts, 'sub-command'); | ||
unknownOption.call(this, 'cache ' + opts, 'command'); | ||
} | ||
@@ -149,0 +153,0 @@ |
{ | ||
"name": "cypress", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"main": "index.js", | ||
@@ -34,3 +34,3 @@ "bin": { | ||
"@types/sinon": "7.0.0", | ||
"@types/sinon-chai": "2.7.29", | ||
"@types/sinon-chai": "3.2.2", | ||
"bluebird": "3.5.0", | ||
@@ -37,0 +37,0 @@ "cachedir": "1.3.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253253
5814
+ Added@types/sinon-chai@3.2.2(transitive)
- Removed@types/sinon-chai@2.7.29(transitive)
Updated@types/sinon-chai@3.2.2