mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
refactor: CaseRunner, parseConfig
This commit is contained in:
@@ -85,7 +85,7 @@ func runStepShell(r *SessionRunner, step *TStep) (stepResult *StepResult, err er
|
||||
ContentSize: 0,
|
||||
}
|
||||
|
||||
vars := r.caseRunner.parsedConfig.Variables
|
||||
vars := r.caseRunner.Config.Variables
|
||||
for key, value := range vars {
|
||||
os.Setenv(key, fmt.Sprintf("%v", value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user