mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
change: PersistentPreRun log setting
This commit is contained in:
@@ -16,11 +16,6 @@ var runCmd = &cobra.Command{
|
||||
$ hrp run examples/ # run testcases in specified folder`,
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
hrp.SetLogLevel(logLevel)
|
||||
if !logJSON {
|
||||
hrp.SetLogPretty()
|
||||
}
|
||||
|
||||
var paths []hrp.ITestCase
|
||||
for _, arg := range args {
|
||||
paths = append(paths, &hrp.TestCasePath{Path: arg})
|
||||
|
||||
Reference in New Issue
Block a user