fix: compatibility with different path separators of Linux and Windows

This commit is contained in:
debugtalk
2020-06-14 23:04:46 +08:00
parent 2aefbe6c0d
commit 834eea52d5

View File

@@ -64,6 +64,7 @@ if __name__ == "__main__":
def __ensure_absolute(path: Text) -> Text:
path = ensure_path_sep(path)
project_meta = load_project_meta(path)
if os.path.isabs(path):