Add go vet check (#430)

* Add go vet check

* Replace go vet with go tool vet to avoid printing exit message
This commit is contained in:
Ta-Ching Chen
2018-01-22 09:28:16 -08:00
committed by Soam Vasani
parent db372c11eb
commit 8df520721c
6 changed files with 21 additions and 5 deletions
+2 -2
View File
@@ -173,7 +173,7 @@ func (builder *Builder) build(command string, srcPkgPath string, deployPkgPath s
var buildLogs string
fmt.Println("\n=== Build Logs ===")
fmt.Printf("\n=== Build Logs ===")
// Init logs
fmt.Printf("command=%v\n", command)
fmt.Printf("env=%v\n", cmd.Env)
@@ -205,7 +205,7 @@ func (builder *Builder) build(command string, srcPkgPath string, deployPkgPath s
fmt.Println(cmdErr)
return buildLogs, cmdErr
}
fmt.Println("==================\n")
fmt.Printf("==================\n")
return buildLogs, nil
}