PR feedback updates

This commit was merged in pull request #7.
This commit is contained in:
2025-09-23 06:01:53 +08:00
committed by Jason Ross
parent 835c041fc6
commit 27099b8ea2
6 changed files with 5 additions and 51 deletions
-5
View File
@@ -98,11 +98,6 @@ def ensure_platform_tools_in_user_dir(version_tag: Optional[str] = "latest") ->
resp.raise_for_status()
zip_path = os.path.join(tmp_dir, "platform-tools.zip")
# Ensure temp directory exists (legacy tests may mock mkdtemp to non-existent path)
try:
os.makedirs(tmp_dir, exist_ok=True)
except Exception:
pass
with open(zip_path, "wb") as fh:
for chunk in resp.iter_content(chunk_size=8192):
if chunk: