mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
feat: support running load testing by loading profile
This commit is contained in:
@@ -118,7 +118,7 @@ func locateFile(startPath string, destFile string) (string, error) {
|
||||
return locateFile(parentDir, destFile)
|
||||
}
|
||||
|
||||
func getProjectRootDirPath(path string) (rootDir string, err error) {
|
||||
func GetProjectRootDirPath(path string) (rootDir string, err error) {
|
||||
pluginPath, err := locatePlugin(path)
|
||||
if err == nil {
|
||||
rootDir = filepath.Dir(pluginPath)
|
||||
|
||||
Reference in New Issue
Block a user