Skip to content

Commit f264879

Browse files
author
Bryan C. Mills
committed
cmd/go/internal/modload: fix an apparent typo in the AutoRoot comment
Updates #40276 Change-Id: Ic192d51f9f0306e5c206c550ef02f6d4495d0851 Reviewed-on: https://go-review.googlesource.com/c/go/+/332569 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com>
1 parent c96833e commit f264879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/modload/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type Root int
7171
const (
7272
// AutoRoot is the default for most commands. modload.Init will look for
7373
// a go.mod file in the current directory or any parent. If none is found,
74-
// modules may be disabled (GO111MODULE=on) or commands may run in a
74+
// modules may be disabled (GO111MODULE=auto) or commands may run in a
7575
// limited module mode.
7676
AutoRoot Root = iota
7777

0 commit comments

Comments
 (0)