Skip to content

Commit

Permalink
cmd/go/internal/modfetch/codehost: add missing newline in '# lock' lo…
Browse files Browse the repository at this point in the history
…g message

Change-Id: Ib92e983b6cdeed2b275a028c85b2bba583def059
Reviewed-on: https://go-review.googlesource.com/c/go/+/403850
TryBot-Result: Gopher Robot <[email protected]>
Auto-Submit: Bryan Mills <[email protected]>
Run-TryBot: Bryan Mills <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
Bryan C. Mills authored and gopherbot committed Jul 12, 2022
1 parent 85486bc commit 9c2526e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/internal/modfetch/codehost/codehost.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9c2526e

Please sign in to comment.