[gofmt] changed result list
This commit is contained in:
parent
33fdadb05f
commit
2320382e3b
|
@ -18,7 +18,7 @@ func main() {
|
|||
args := []string{"-l"}
|
||||
args = append(args, files...)
|
||||
|
||||
result := general.RunCommand("gofmt", args...)
|
||||
result, _ := general.RunCommand("gofmt", args...)
|
||||
if result == "" {
|
||||
os.Exit(0)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue