summaryrefslogtreecommitdiff
path: root/src/cmd/go/fix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/fix.go')
-rw-r--r--src/cmd/go/fix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/fix.go b/src/cmd/go/fix.go
index ef02b5739..8736cce3e 100644
--- a/src/cmd/go/fix.go
+++ b/src/cmd/go/fix.go
@@ -25,6 +25,6 @@ func runFix(cmd *Command, args []string) {
// Use pkg.gofiles instead of pkg.Dir so that
// the command only applies to this package,
// not to packages in subdirectories.
- run(stringList(tool("fix"), relPaths(pkg.gofiles)))
+ run(stringList(tool("fix"), relPaths(pkg.allgofiles)))
}
}