Closed nyt-hughmandeville closed 5 years ago
The problem is here:
https://github.com/golang/gddo/blob/af0f2af80721261f4d211b2c9563f7b46b2aab06/gosrc/vcs.go#L294-L304
We're opening a file with the expectation it's a directory, then trying to read its contents. We're not handling the error condition where the file exists but is not a directory. I'll send a fix.
Edit: Sent CL 190397.
https://godoc.org/golang.org/x/sys/unix/aliases.go returns 500 Internal server error.