fix lint errors
This commit is contained in:
parent
9f168cff85
commit
2ce6c44407
@ -274,7 +274,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
slog.Info("command", "command", subCmd)
|
slog.Info("command", "command", subCmd)
|
||||||
if os.Args[1] == subCmd.Name {
|
if os.Args[1] == subCmd.Name {
|
||||||
subCmd.Run(cmdFlagSet, os.Stdout)
|
if e := subCmd.Run(cmdFlagSet, os.Stdout); e != nil {
|
||||||
|
log.Fatal(e)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user