mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
refactor: move base_url to config env
This commit is contained in:
@@ -314,8 +314,7 @@ func parseEnvContent(file []byte, obj interface{}) error {
|
||||
var kv []string
|
||||
if strings.Contains(line, "=") {
|
||||
kv = strings.SplitN(line, "=", 2)
|
||||
}
|
||||
if strings.Contains(line, ":") {
|
||||
} else if strings.Contains(line, ":") {
|
||||
kv = strings.SplitN(line, ":", 2)
|
||||
}
|
||||
if len(kv) != 2 {
|
||||
|
||||
Reference in New Issue
Block a user