gofmt, govet, run those in Travis, add 1.7

This commit is contained in:
Chris Broadfoot
2016-08-23 13:30:43 -07:00
parent 1f4717172e
commit d1371ecdb4
5 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func GenManTreeFromOpts(cmd *cobra.Command, opts GenManTreeOptions) error {
separator = opts.CommandSeparator
}
basename := strings.Replace(cmd.CommandPath(), " ", separator, -1)
filename := filepath.Join(opts.Path, basename + "." + section)
filename := filepath.Join(opts.Path, basename+"."+section)
f, err := os.Create(filename)
if err != nil {
return err