mirror of
https://github.com/golang/go.git
synced 2026-01-29 07:02:05 +03:00
cmd/go/internal/vcs: use 0o for octal
Change-Id: I011cd7e1c2c614e2c5c4a0fadf062ac9be2266aa Reviewed-on: https://go-review.googlesource.com/c/go/+/736440 Reviewed-by: Florian Lehner <lehner.florian86@gmail.com> Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
@@ -551,7 +551,7 @@ func (v *Cmd) Ping(scheme, repo string) error {
|
||||
if !cfg.ModulesEnabled {
|
||||
dir = filepath.Join(cfg.BuildContext.GOPATH, "src")
|
||||
}
|
||||
os.MkdirAll(dir, 0777) // Ignore errors — if unsuccessful, the command will likely fail.
|
||||
os.MkdirAll(dir, 0o777) // Ignore errors — if unsuccessful, the command will likely fail.
|
||||
|
||||
release, err := base.AcquireNet()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user