Commit 30002e66 authored by SataQiu's avatar SataQiu Committed by Bryan C. Mills
Browse files

cmd/go/internal/modload: treat \ as a path separator instead of a shell special character

According to the code comment, \ should be treated as a path separator.
See fileNameOK in golang.org/x/mod/module/module.go.

Change-Id: I05e05246005191ecccfecf46848aba5cb1359956
Reviewed-on: https://go-review.googlesource.com/c/go/+/310429


Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
Trust: Robert Findley <rfindley@google.com>
parent b9dfaf77
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment