fix lint errors
Some checks failed
Lint / golangci-lint (push) Successful in 9m58s
Releases / build (push) Failing after 4s
Declarative Tests / test (push) Successful in 1m22s

This commit is contained in:
Matthew Rich 2024-04-21 23:43:58 -07:00
parent 9f168cff85
commit 2ce6c44407

View File

@ -274,7 +274,9 @@ func main() {
}
slog.Info("command", "command", subCmd)
if os.Args[1] == subCmd.Name {
subCmd.Run(cmdFlagSet, os.Stdout)
if e := subCmd.Run(cmdFlagSet, os.Stdout); e != nil {
log.Fatal(e)
}
return
}
}