forked from cerc-io/stack-orchestrator
Fix stack path check (#877)
Reviewed-on: cerc-io/stack-orchestrator#877 Co-authored-by: David Boreham <david@bozemanpass.com> Co-committed-by: David Boreham <david@bozemanpass.com>
This commit is contained in:
@@ -197,7 +197,10 @@ def stack_is_external(stack: str):
|
||||
|
||||
|
||||
def stack_is_in_deployment(stack: Path):
|
||||
return stack.joinpath(deployment_file_name).exists()
|
||||
if isinstance(stack, os.PathLike):
|
||||
return stack.joinpath(deployment_file_name).exists()
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
def get_yaml():
|
||||
|
||||
Reference in New Issue
Block a user