Skip to content

Commit 1b2f4f0

Browse files
committed
linux dir bug re-fixed
¯\_(ツ)_/¯
1 parent a83ea71 commit 1b2f4f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/cloudshell/iac/terraform/services/local_dir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def delete_local_temp_dir(sandbox_data_handler: SandboxDataHandler, tf_working_d
1616
while not tmp_folder_found:
1717
objects_in_folder = os.listdir(tf_path.parent.absolute())
1818
if len(objects_in_folder) == 2:
19-
if objects_in_folder[0] == 'REPO' and objects_in_folder[1] == 'repo.zip':
19+
if 'REPO' in objects_in_folder and 'repo.zip' in objects_in_folder:
2020
tmp_folder_found = True
2121
tf_path = Path(tf_path.parent.absolute())
2222
tf_path_str = str(tf_path)

0 commit comments

Comments
 (0)