mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
fix: compatibility with different path separators of Linux and Windows
This commit is contained in:
@@ -64,6 +64,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
|
|
||||||
def __ensure_absolute(path: Text) -> Text:
|
def __ensure_absolute(path: Text) -> Text:
|
||||||
|
path = ensure_path_sep(path)
|
||||||
project_meta = load_project_meta(path)
|
project_meta = load_project_meta(path)
|
||||||
|
|
||||||
if os.path.isabs(path):
|
if os.path.isabs(path):
|
||||||
|
|||||||
Reference in New Issue
Block a user