Skip to content

Commit 1925dda

Browse files
authored
comment tools check
1 parent 8a5e36e commit 1925dda

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tools/idf_tools.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,10 +1245,11 @@ def install(self, version: str) -> None:
12451245
unpack(archive_path, dest_dir)
12461246
if self._current_options.strip_container_dirs: # type: ignore
12471247
do_strip_container_dirs(dest_dir, self._current_options.strip_container_dirs) # type: ignore
1248-
if not self.check_binary_valid(version):
1249-
fatal(f'Failed to check the tool while installed. Removing directory {dest_dir}')
1250-
shutil.rmtree(dest_dir)
1251-
raise SystemExit(1)
1248+
# Check commented: not working in our use case and not needed
1249+
# if not self.check_binary_valid(version):
1250+
# fatal(f'Failed to check the tool while installed. Removing directory {dest_dir}')
1251+
# shutil.rmtree(dest_dir)
1252+
# raise SystemExit(1)
12521253

12531254
@staticmethod
12541255
def check_download_file(download_obj: IDFToolDownload, local_path: str) -> bool:

0 commit comments

Comments
 (0)