Fix no stack case

This commit is contained in:
David Boreham 2023-11-14 20:54:22 -07:00
parent 9cb10d200d
commit 7d7527d777

View File

@ -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():