Skip to content

Commit a8a9c78

Browse files
lmiller1990warrensplayermarktnoonan
authored
chore: make error more inclusive of future cypress versions (#24559)
* chore: make error more inclusive of future cypress versions * Additional wording change Co-authored-by: Mark Noonan <mark@cypress.io> * Update snapshot to match * fix test (hopefully) Co-authored-by: Stokes Player <stokes@cypress.io> Co-authored-by: Mark Noonan <mark@cypress.io>
1 parent 963e184 commit a8a9c78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/errors/__snapshot-html__/MIGRATION_CYPRESS_NOT_FOUND.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/errors/src/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,9 +1559,9 @@ export const AllCypressErrors = {
15591559

15601560
MIGRATION_CYPRESS_NOT_FOUND: () => {
15611561
return errTemplate`
1562-
You are running Cypress 10 in global mode and attempting to open or migrate a project where an install of ${fmt.code('cypress')} cannot be found.
1562+
You are running Cypress 10+ in global mode and attempting to open or migrate a project where an install of ${fmt.code('cypress')} cannot be found.
15631563
1564-
Ensure that ${fmt.code('cypress@10')} is installed in the project you are attempting to open or migrate.
1564+
Ensure that ${fmt.code('cypress@10')} or greater is installed in the project you are attempting to open or migrate.
15651565
15661566
https://on.cypress.io/migration-guide
15671567
`

0 commit comments

Comments
 (0)