mirror of
https://github.com/golang/go
synced 2024-11-23 17:30:02 -07:00
cmd/go/internal/modfetch/codehost: add missing newline in '# lock' log message
Change-Id: Ib92e983b6cdeed2b275a028c85b2bba583def059 Reviewed-on: https://go-review.googlesource.com/c/go/+/403850 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
parent
85486bcccb
commit
9c2526e637
@ -247,7 +247,7 @@ func WorkDir(typ, name string) (dir, lockfile string, err error) {
|
||||
|
||||
lockfile = dir + ".lock"
|
||||
if cfg.BuildX {
|
||||
fmt.Fprintf(os.Stderr, "# lock %s", lockfile)
|
||||
fmt.Fprintf(os.Stderr, "# lock %s\n", lockfile)
|
||||
}
|
||||
|
||||
unlock, err := lockedfile.MutexAt(lockfile).Lock()
|
||||
|
Loading…
Reference in New Issue
Block a user