mirror of https://github.com/joho/godotenv.git
Fix panic because of wrong function (#223)
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…
Reference in New Issue