We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f437bc commit 845cf79Copy full SHA for 845cf79
compute_worker/compute_worker.py
@@ -884,16 +884,16 @@ def _get_host_path(self, *paths):
884
# Take our list of paths and smash 'em together
885
path = os.path.join(*paths)
886
887
+ # Create if necessary
888
+ os.makedirs(path, exist_ok=True)
889
+
890
# pull front of path, which points to the location inside the container
891
path = path[len(BASE_DIR) :]
892
893
# add host to front, so when we run commands in the container on the host they
894
# can be seen properly
895
path = os.path.join(HOST_DIRECTORY, path)
896
- # Create if necessary
- os.makedirs(path, exist_ok=True)
-
897
return path
898
899
async def _run_program_directory(self, program_dir, kind):
0 commit comments