-
Notifications
You must be signed in to change notification settings - Fork 207
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
yarn test leaves a changed go.mod file as debris #1253
Comments
This is inevitable, if your version of Go disagrees enough with what everybody else is using. If the disagreement causes a different I have:
What do you have? |
(I can add a flag to prevent Go from modifying the |
The machine it says Was there something that should have told me that upgrading go was called for? How would I have suspected that this was the problem? If there was some kind of tickler that would tell me to upgrade it, I would. Having a build fail once with a warning that I needed to upgrade would be fine. One build failure is less hassle than constantly having to edit commits to take this file out. Also, how do I upgrade it? |
I don't understand why the tickler didn't work. The
|
Ah, it doesn't do what it says on the tin. The version isn't used unless within a "build tag". golang/go#23969 (comment) I've made a PR, and tested that it fails compilation if the version is wrong (i.e. lower than the specified). |
Running a
yarn test
that tests cosmic-swingset (i.e., either thecosmic-swingset
directory or running all the tests globally) modifiespackages/cosmic-swingset/go.mod
, which then keeps sneaking into my commits. Please make it stop doing this.The text was updated successfully, but these errors were encountered: