Skip to content
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

Fix: Execute version check in tempdir #134

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@Luzifer
Copy link

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.

Fix: Execute version check in tempdir
Signed-off-by: Knut Ahlers <knut@ahlers.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.