Skip to content

Commit

Permalink
fix(hcledit_cli): REmove exist check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noahnc committed Nov 28, 2023
1 parent 70daa93 commit c4a29a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions infrapatch/core/utils/terraform/hcl_edit_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4a29a2

Please sign in to comment.