From 7765d9d198cd9c6197452c94201cfd6f411fa542 Mon Sep 17 00:00:00 2001 From: Kha Nguyen Date: Sat, 13 Jan 2024 09:49:45 +0700 Subject: [PATCH] Fix panic because of wrong function (#223) --- cmd/godotenv/cmd.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/godotenv/cmd.go b/cmd/godotenv/cmd.go index aa97a05..7dc8f8e 100644 --- a/cmd/godotenv/cmd.go +++ b/cmd/godotenv/cmd.go @@ -4,7 +4,6 @@ import ( "flag" "fmt" "log" - "strings" "github.com/joho/godotenv" @@ -35,7 +34,7 @@ example // print usage and return args := flag.Args() if showHelp || len(args) == 0 { - fmt.log(usage) + fmt.Println(usage) return }