Skip to content

Commit

Permalink
update error message text
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 30, 2019
1 parent 8a5030a commit d5d3bef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/__snapshots__/cli_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ exports['cli CYPRESS_ENV catches environment "foo" 1'] = `
code: 11
stderr:
-------
Environment variable with reserved name "CYPRESS_ENV" was used.
The environment variable with the reserved name "CYPRESS_ENV" is set.
Remove "CYPRESS_ENV" variable and run Cypress again.
Unset the "CYPRESS_ENV" environment variable and run Cypress again.
----------
Expand Down
4 changes: 2 additions & 2 deletions cli/lib/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ const unexpected = {

const invalidCypressEnv = {
description:
chalk.red('Environment variable with reserved name "CYPRESS_ENV" was used.'),
solution: chalk.red('Remove "CYPRESS_ENV" variable and run Cypress again.'),
chalk.red('The environment variable with the reserved name "CYPRESS_ENV" is set.'),
solution: chalk.red('Unset the "CYPRESS_ENV" environment variable and run Cypress again.'),
exitCode: 11,
}

Expand Down

0 comments on commit d5d3bef

Please sign in to comment.