mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-15 04:19:28 +08:00
refactor: runner api
This commit is contained in:
@@ -20,7 +20,7 @@ var runCmd = &cobra.Command{
|
||||
for _, arg := range args {
|
||||
paths = append(paths, &hrp.TestCasePath{Path: arg})
|
||||
}
|
||||
runner := hrp.NewRunner().SetDebug(!silentFlag)
|
||||
runner := hrp.NewRunner(nil).SetDebug(!silentFlag)
|
||||
if proxyUrl != "" {
|
||||
runner.SetProxyUrl(proxyUrl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user