Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Conversation

@Luzifer
Copy link

@Luzifer Luzifer commented Jul 10, 2019

In order not to have to deal with go mod issues appearing when executing the version check in a directory having private Go modules but no valid authentication to update them execute the version check in the tempdir already created.

That way the go run command will not detect the go.mod file of the program to build later on and therefore will not try to fetch the private modules which it can't fetch.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant