]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/auth: fix typo
authorJes Cok <xigua67damn@gmail.com>
Fri, 21 Nov 2025 15:59:20 +0000 (15:59 +0000)
committerCherry Mui <cherryyz@google.com>
Mon, 24 Nov 2025 23:15:19 +0000 (15:15 -0800)
Change-Id: Ic113d59144aa2d37c8988559fbc086f5c29c0b69
GitHub-Last-Rev: e2623be0a00464d9be845da53fb1a67520fc1716
GitHub-Pull-Request: golang/go#76397
Reviewed-on: https://go-review.googlesource.com/c/go/+/722861
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/go/internal/auth/userauth.go

index 2649a9c271dce3144a68e9ade618540b02394200..44c0b3cff0993dd51e9fa1498e4f50c7c67f106d 100644 (file)
@@ -48,7 +48,7 @@ func runAuthCommand(command string, url string, res *http.Response) (map[string]
 // parseUserAuth parses the output from a GOAUTH command and
 // returns a mapping of prefix → http.Header without the leading "https://"
 // or an error if the data does not follow the expected format.
-// Returns an nil error and an empty map if the data is empty.
+// Returns a nil error and an empty map if the data is empty.
 // See the expected format in 'go help goauth'.
 func parseUserAuth(data string) (map[string]http.Header, error) {
        credentials := make(map[string]http.Header)