forked from coop-cloud-mirrors/godotenv
outdent else because golint said so.
This commit is contained in:
@ -86,9 +86,8 @@ func Exec(filenames []string, cmd string, cmdArgs []string) error {
|
||||
func filenamesOrDefault(filenames []string) []string {
|
||||
if len(filenames) == 0 {
|
||||
return []string{".env"}
|
||||
} else {
|
||||
return filenames
|
||||
}
|
||||
return filenames
|
||||
}
|
||||
|
||||
func loadFile(filename string) error {
|
||||
|
Reference in New Issue
Block a user