Fix no stack case
This commit is contained in:
parent
9cb10d200d
commit
7d7527d777
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user