diff --git a/cmd/kagi/main.go b/cmd/kagi/main.go index def6d01..8f6d9fd 100644 --- a/cmd/kagi/main.go +++ b/cmd/kagi/main.go @@ -26,8 +26,6 @@ func run(args []string) error { default: query = strings.Join(args[1:], " ") } - if len(args) < 2 { - } apiKey := os.Getenv("KAGI_API_KEY") if apiKey == "" { return errors.New("no KAGI_API_KEY was set")