Skip to content

Commit

Permalink
Fix panic because of wrong function (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
lotusirous committed Jan 13, 2024
1 parent 383d64c commit 7765d9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/godotenv/cmd.go
Expand Up @@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"log"

"strings"

"github.com/joho/godotenv"
Expand Down Expand Up @@ -35,7 +34,7 @@ example
// print usage and return
args := flag.Args()
if showHelp || len(args) == 0 {
fmt.log(usage)
fmt.Println(usage)
return
}

Expand Down

0 comments on commit 7765d9d

Please sign in to comment.