From c4a29a27a4dd52d6660cba8419330ec9fdf88997 Mon Sep 17 00:00:00 2001 From: Noah Canadea Date: Tue, 28 Nov 2023 12:54:16 +0000 Subject: [PATCH] fix(hcledit_cli): REmove exist check. --- infrapatch/core/utils/terraform/hcl_edit_cli.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/infrapatch/core/utils/terraform/hcl_edit_cli.py b/infrapatch/core/utils/terraform/hcl_edit_cli.py index 017bd8d..ea8f4fa 100644 --- a/infrapatch/core/utils/terraform/hcl_edit_cli.py +++ b/infrapatch/core/utils/terraform/hcl_edit_cli.py @@ -20,8 +20,6 @@ def get_hcl_value(self, resource: str, file: Path) -> str: class HclEditCli(HclEditCliInterface): def __init__(self): self._binary_path = self._get_binary_path() - if not self._binary_path.exists() and not self._binary_path.is_file(): - raise Exception(f"Binary '{self._binary_path.absolute().as_posix()}' does not exist.") def _get_binary_path(self) -> Path: current_folder = Path(__file__).parent