feat: log client/server IP and port

This commit is contained in:
debugtalk
2020-06-17 21:20:45 +08:00
parent c3411765ac
commit 78b2939179
4 changed files with 35 additions and 8 deletions

View File

@@ -66,10 +66,10 @@ if __name__ == "__main__":
def __ensure_absolute(path: Text) -> Text:
if path.startswith("./"):
# Linux/Darwin, hrun ./test.yml
path = path[len("./"):]
path = path[len("./") :]
elif path.startswith(".\\"):
# Windows, hrun .\\test.yml
path = path[len(".\\"):]
path = path[len(".\\") :]
path = ensure_path_sep(path)
project_meta = load_project_meta(path)