[gofmt] changed result list
This commit is contained in:
parent
33fdadb05f
commit
2320382e3b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user