Set cwd to None if empty string for ExecProvider
This commit is contained in:
parent
51c481692a
commit
fe2546147c
@ -53,7 +53,8 @@ class ExecProvider(object):
|
||||
value = item['value']
|
||||
additional_vars[name] = value
|
||||
self.env.update(additional_vars)
|
||||
self.cwd = cwd
|
||||
|
||||
self.cwd = cwd if cwd else None
|
||||
|
||||
def run(self, previous_response=None):
|
||||
kubernetes_exec_info = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user