cmd/go: revise disallowInternal
This fixes two problems: x/internal/y/z was using parent = x/internal/y instead of x, and hasPathPrefix only looks at /, not \ for Windows. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/121280045
Showing
Please register or sign in to comment