-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: GOCACHE=false is not the same as GOCACHE=off #28290
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
Comments
Well, On the other hand we could perhaps consider failing if |
I would agree with the absolute path idea. That would at least surface the misconfiguration without creating an erroneous directory. |
I don't see a need to change GOCACHE to allow only absolute paths. Cases like And more importantly, with 1.12 |
I didn't realize it was being deprecated. I would agree then. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
go's test cache turned off
What did you see instead?
Left the cache on and created a folder named
false
. I've noticed several devs (including myself) expect type to be a bool instead of a more human readable value.The text was updated successfully, but these errors were encountered: