This commit is contained in:
Dave Henderson 2022-11-12 12:35:13 +09:00 committed by GitHub
commit 6891a5c4cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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