From 2e2a4966b0c751162ebb70dc2c04ce54efc2c572 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Mon, 4 Feb 2019 15:23:26 -0500 Subject: [PATCH] Fixing up merge issue from #69 Signed-off-by: Dave Henderson --- godotenv.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/godotenv.go b/godotenv.go index 466f2eb..6b94313 100644 --- a/godotenv.go +++ b/godotenv.go @@ -264,12 +264,6 @@ func parseLine(line string, envMap map[string]string) (key string, value string, } // Parse the key - key = splitString[0] - if strings.HasPrefix(key, "export") { - key = strings.TrimPrefix(key, "export") - } - key = strings.TrimSpace(key) - key = exportRegex.ReplaceAllString(splitString[0], "$1") // Parse the value