Skip to content

Commit

Permalink
Make code certain a project exists
Browse files Browse the repository at this point in the history
  • Loading branch information
psakievich committed Dec 19, 2023
1 parent 55160d0 commit f833a98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions manager/manager_cmds/create_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ def create_env(parser, args):
copy_tree(project.repo_path, os.path.join(theDir, "repos"))
manifest.flush()

fpath = os.path.join(project.root, ".tmp")
fpath = os.path.join(project.root, ".tmp")

os.makedirs(fpath, exist_ok=True)
os.makedirs(fpath, exist_ok=True)

storage = os.path.join(fpath, "created_env_path.txt")
storage = os.path.join(fpath, "created_env_path.txt")

with open(storage, "w") as f:
f.write(theDir)
with open(storage, "w") as f:
f.write(theDir)

return theDir

Expand Down

0 comments on commit f833a98

Please sign in to comment.