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 a0a748e24a
commit 363aa7f647

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):