Comparing version 0.20.0-dev.20170705.151156 to 0.20.0-dev.20170831.154819
@@ -48,3 +48,3 @@ 'use strict'; | ||
program.command('run').usage('[options]').description('Runs Cypress Headlessly').option('-r, --record [bool]', text('record'), coerceFalse).option('-k, --key <record_key>', text('key')).option('-s, --spec <spec>', text('spec')).option('-r, --reporter <reporter>', text('reporter')).option('-o, --reporter-options <reporter-options>', text('reporterOptions')).option('-p, --port <port>', text('port')).option('-e, --env <env>', text('env')).option('-c, --config <config>', text('config')).option('-b, --browser <browser name>', text('browser')).action(function (opts) { | ||
program.command('run').usage('[options]').description('Runs Cypress Headlessly').option('--record [bool]', text('record'), coerceFalse).option('-k, --key <record_key>', text('key')).option('-s, --spec <spec>', text('spec')).option('-r, --reporter <reporter>', text('reporter')).option('-o, --reporter-options <reporter-options>', text('reporterOptions')).option('-p, --port <port>', text('port')).option('-e, --env <env>', text('env')).option('-c, --config <config>', text('config')).option('-b, --browser <browser name>', text('browser')).action(function (opts) { | ||
return require('./exec/run').start(parseOpts(opts)).then(process.exit); | ||
@@ -51,0 +51,0 @@ }); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
_templateObject2 = _taggedTemplateLiteral(['\n Smoke test returned wrong code.\n command was: ', '\n returned: ', '\n '], ['\n Smoke test returned wrong code.\n command was: ', '\n returned: ', '\n ']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n Cypress executable not found at\n ', '\n '], ['\n Cypress executable not found at\n ', '\n ']); | ||
_templateObject3 = _taggedTemplateLiteral(['\n Cypress executable not found at\n ', '\n '], ['\n Cypress executable not found at\n ', '\n ']); | ||
@@ -215,7 +215,6 @@ function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } | ||
var logStart = function logStart() { | ||
return log(chalk.green('⧖ Verifying Cypress executable...')); | ||
return log(chalk.yellow('⧖ Verifying Cypress executable...')); | ||
}; | ||
var logSuccess = function logSuccess() { | ||
log(); | ||
log(chalk.green('✓ Successfully verified Cypress executable')); | ||
@@ -287,3 +286,5 @@ }; | ||
var executable = getPathToExecutable(); | ||
return fs.statAsync(executable).catch(function () { | ||
return fs.statAsync(executable).then(function () { | ||
log(chalk.green('✓ Cypress executable found at:'), chalk.cyan(executable)); | ||
}).catch(function () { | ||
return explainAndFail(errors.missingApp)(new Error(stripIndent(_templateObject3, executable))); | ||
@@ -290,0 +291,0 @@ }); |
{ | ||
"name": "cypress", | ||
"version": "0.20.0-dev.20170705.151156", | ||
"version": "0.20.0-dev.20170831.154819", | ||
"main": "index.js", | ||
@@ -15,3 +15,3 @@ "bin": { | ||
"bluebird": "3.5.0", | ||
"chalk": "1.1.3", | ||
"chalk": "2.0.1", | ||
"commander": "2.9.0", | ||
@@ -18,0 +18,0 @@ "common-tags": "1.4.0", |
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
43990
1048
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.0.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@2.0.0(transitive)
+ Addedsupports-color@4.5.0(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedchalk@1.1.3(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
Updatedchalk@2.0.1