mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: get config
This commit is contained in:
@@ -188,5 +188,5 @@ func GetProjectRootDirPath(path string) (rootDir string, err error) {
|
||||
// failed to locate project root dir
|
||||
// maybe project plugin debugtalk.xx and proj.json are not exist
|
||||
// use current dir instead
|
||||
return config.RootDir, nil
|
||||
return config.GetConfig().RootDir, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user