refactor: rename env package to config

This commit is contained in:
lilong.129
2024-10-16 15:36:37 +08:00
parent a4236eea39
commit f9044eabe3
13 changed files with 33 additions and 33 deletions

View File

@@ -12,7 +12,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/httprunner/httprunner/v4/hrp/code"
"github.com/httprunner/httprunner/v4/hrp/internal/env"
"github.com/httprunner/httprunner/v4/hrp/internal/config"
"github.com/httprunner/httprunner/v4/hrp/internal/sdk"
)
@@ -185,5 +185,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 env.RootDir, nil
return config.RootDir, nil
}