]> Cypherpunks repositories - gostls13.git/commit
cmd/fix: always format source file before fixing
authorRuss Cox <rsc@golang.org>
Mon, 29 Jun 2020 14:44:56 +0000 (10:44 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 12 Oct 2020 18:31:15 +0000 (18:31 +0000)
commit09833da6b4cfb494ba61a398ab2063ab016d3890
tree7679e3814e489a477fef0378b2c29b5e7f63ae5a
parent7b77ff4c88befb1da9fb8b1cc7128a44ffb8a64f
cmd/fix: always format source file before fixing

This makes the changes to the file easier to explain.
Not all the changes may come from the fixers directly,
if the file is not gofmt-ed already.

Change-Id: I81776da446a34a1239a3130317d2aae1437d61a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/240555
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/fix/main.go