Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make error more inclusive of future cypress versions #24559

Merged
merged 6 commits into from Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/errors/src/errors.ts
Expand Up @@ -1559,9 +1559,9 @@ export const AllCypressErrors = {

MIGRATION_CYPRESS_NOT_FOUND: () => {
return errTemplate`
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.
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.

Ensure that ${fmt.code('cypress@10')} is installed in the project you are attempting to open or migrate.
Ensure that ${fmt.code('cypress@10')} or greater is installed in the project you are attempting to open or migrate.

https://on.cypress.io/migration-guide
`
Expand Down