Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: make sure that the RelPaths always returns valid paths
When dealing with symlinks, filepath.Rel does not always return a valid path as described in golang#30336 This change makes sure that the shorter path is not used if it isn't valid. Fixes golang#30336
- Loading branch information