[gofmt] changed result list

This commit is contained in:
Martin Thielecke 2015-07-31 23:54:18 +00:00
parent 33fdadb05f
commit 2320382e3b

View File

@ -18,7 +18,7 @@ func main() {
args := []string{"-l"} args := []string{"-l"}
args = append(args, files...) args = append(args, files...)
result := general.RunCommand("gofmt", args...) result, _ := general.RunCommand("gofmt", args...)
if result == "" { if result == "" {
os.Exit(0) os.Exit(0)
return return