-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Clean env variable CYPRESS_INSTALL_BINARY before checking #4579
Conversation
// so for sanity sake we should first trim whitespace characters and remove | ||
// double quotes around environment strings if the caller is expected to | ||
// use this environment string as a file path | ||
return trim ? dequote(_.trim(result)) : result |
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.
Does it remove the quotes first or trim first? Does an example like "foo.txt " work properly in your test?
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.
first trims the whitespace, then removes quotes, and there are unit tests, let me add one specifically for your case
CYPRESS_INSTALL_BINARY
see Windows difficulties Cypress not installing using local zip on windows #4506 (comment)