mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
@@ -41,7 +41,7 @@ func SetEnvVars(oldVars *[]string, keyValues ...string) {
|
||||
}
|
||||
|
||||
func SplitEnvVar(v string) (string, string) {
|
||||
parts := strings.Split(v, "=")
|
||||
parts := strings.SplitN(v, "=", 2)
|
||||
return parts[0], parts[1]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user