Used meaningful name instead of shortcut x

merge-requests/1/head
Md. Fasihul Kabir 3 years ago
parent ebfcce2a21
commit 996f27be88

@ -467,9 +467,9 @@ class Terraform:
"""
return list(
filter(
lambda x: len(x) > 0,
lambda workspace: len(workspace) > 0,
map(
lambda x: x.strip('*').strip(),
lambda workspace: workspace.strip('*').strip(),
(self.cmd("workspace", "list")[1] or '').split()
)
)

Loading…
Cancel
Save