mirror of
https://github.com/joho/godotenv.git
synced 2025-06-15 08:56:03 +00:00
Fix panic because of wrong function (#223)
This commit is contained in:
parent
383d64cb7e
commit
7765d9d198
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user