Skip to content

Commit

Permalink
Fixing up merge issue from #69
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
  • Loading branch information
hairyhenderson committed Sep 24, 2021
1 parent c40e9c6 commit 2e2a496
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions godotenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e2a496

Please sign in to comment.