You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running "GOPATH=. go build pkg/foo" should be disallowed when $GOPATH is set
to "." as the compile process usually errors out by saying it cannot find a
particular file, even though that file definitely exists.
Granted, running the command like so "GOPATH=$PWD go build pkg/foo" works
successfully, but perhaps the go tool should notice when $GOPATH is set to "."
and error out.
The text was updated successfully, but these errors were encountered:
That would be good; my thinking is if relative paths in $GOPATH cause the compile
process to fail, why not notice the error before-hand, and gracefully error out?
by nicksaika:
The text was updated successfully, but these errors were encountered: