fix: only return from temp dir in Pulumi mode
This commit is contained in:
parent
4768de1984
commit
5f4758228f
@ -52,6 +52,7 @@ def resolve_outputs(outputs):
|
|||||||
def pulumi_ws(func):
|
def pulumi_ws(func):
|
||||||
@wraps(func)
|
@wraps(func)
|
||||||
def decorated(self, *args, **kwargs):
|
def decorated(self, *args, **kwargs):
|
||||||
|
cwd = None
|
||||||
# setup temp workspace
|
# setup temp workspace
|
||||||
if self.mode == "pulumi":
|
if self.mode == "pulumi":
|
||||||
self.work_dir = tempfile.mkdtemp(
|
self.work_dir = tempfile.mkdtemp(
|
||||||
|
Loading…
Reference in New Issue
Block a user