From b38f4c416ed39c296c9953c566ee5ee575990cfc Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 15 Apr 2016 22:12:15 +0200 Subject: [PATCH] Allow comments in .env file --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7fa68a7..53cf3aa 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ func infoLog(message string, args ...interface{}) { func envListToMap(list []string) map[string]string { out := map[string]string{} for _, entry := range list { - if len(entry) == 0 { + if len(entry) == 0 || entry[0] == '#' { continue }