-
Notifications
You must be signed in to change notification settings - Fork 12
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
Restrict user from using yarn v4 #44
base: main
Are you sure you want to change the base?
Conversation
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
|
args []string | ||
expected bool | ||
}{ | ||
{[]string{"set", "version", "1.22.10"}, true}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since minimum supported yarn version in 2.X.X, when version is set to anything below that should fail. Is that happening ? Could you please add a case and check if not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above test is written only to skip version check when switching back and forth from an unsupported version, say switching back to lower versions from v4, currently you can switch back to a lower unsupported version say 1.x.x but you won't be able to switch back from it
depends on: