Skip to content

Commit

Permalink
More linting of my terrible, rotten, no good code
Browse files Browse the repository at this point in the history
  • Loading branch information
bcspragu committed Jun 7, 2023
1 parent 2fdf053 commit dfab1ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/kagi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit dfab1ff

Please sign in to comment.