fix: only return from temp dir in Pulumi mode
All checks were successful
ZeroDownTime/CloudBender/pipeline/tag This commit looks good
ZeroDownTime/CloudBender/pipeline/head This commit looks good

This commit is contained in:
Stefan Reimer 2024-09-12 19:18:11 +00:00
parent 4768de1984
commit 5f4758228f

View File

@ -52,6 +52,7 @@ def resolve_outputs(outputs):
def pulumi_ws(func):
@wraps(func)
def decorated(self, *args, **kwargs):
cwd = None
# setup temp workspace
if self.mode == "pulumi":
self.work_dir = tempfile.mkdtemp(