Skip to content

Commit

Permalink
Fix no stack case
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham committed Nov 15, 2023
1 parent 9cb10d2 commit 7d7527d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack_orchestrator/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def get_parsed_deployment_spec(spec_file):
def stack_is_external(stack: str):
# Bit of a hack: if the supplied stack string represents
# a path that exists then we assume it must be external
return Path(stack).exists()
return Path(stack).exists() if stack is not None else False


def get_yaml():
Expand Down

0 comments on commit 7d7527d

Please sign in to comment.