Skip to content

Commit

Permalink
Fix bug in which .soap directory was not created
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshanuikabundi committed Apr 6, 2023
1 parent 950e8de commit ed267c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soap/_soap.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def add_pip_package(
dependencies.append({"pip": [package]})


def prepare_env_file(env: Env) -> Dict:
def prepare_env_file(env: Env) -> str:
"""
Prepare an environment YAML file and return its contents
Expand Down Expand Up @@ -84,7 +84,7 @@ def prepare_env(
"""
# Create the destination directory if it does not exist
# Will only create a directory if we don't hit the cache
env.env_path.mkdir(exist_ok=True)
env.env_path.mkdir(parents=True, exist_ok=True)

# Prepare the working environment file
# This file has all the changes we have made to the source YAML file.
Expand Down

0 comments on commit ed267c6

Please sign in to comment.