mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 08:27:35 +08:00
fix: download path不再使用时间戳
This commit is contained in:
@@ -62,7 +62,7 @@ func GetConfig() *Config {
|
|||||||
startTimeStr := cfg.StartTime.Format("20060102150405")
|
startTimeStr := cfg.StartTime.Format("20060102150405")
|
||||||
resultsDir := filepath.Join(ResultsDirName, startTimeStr)
|
resultsDir := filepath.Join(ResultsDirName, startTimeStr)
|
||||||
cfg.resultsPath = filepath.Join(cfg.RootDir, resultsDir)
|
cfg.resultsPath = filepath.Join(cfg.RootDir, resultsDir)
|
||||||
cfg.downloadsPath = filepath.Join(cfg.RootDir, filepath.Join(DownloadsDirName, startTimeStr))
|
cfg.downloadsPath = filepath.Join(cfg.RootDir, filepath.Join(DownloadsDirName))
|
||||||
cfg.screenShotsPath = filepath.Join(cfg.resultsPath, ScreenshotsDirName)
|
cfg.screenShotsPath = filepath.Join(cfg.resultsPath, ScreenshotsDirName)
|
||||||
cfg.actionLogDirPath = filepath.Join(resultsDir, ActionLogDirName)
|
cfg.actionLogDirPath = filepath.Join(resultsDir, ActionLogDirName)
|
||||||
globalConfig = cfg
|
globalConfig = cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user