From 2ce6c444079dfa0432652e5e11953cc129a5f3e3 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Sun, 21 Apr 2024 23:43:58 -0700 Subject: [PATCH] fix lint errors --- cmd/cli/main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 0c0a3c9..1b09b01 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -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 } }