From 9c0b6099bfa1e311655e9b99678785f542bf1128 Mon Sep 17 00:00:00 2001 From: Jesse Schwartzentruber Date: Thu, 16 Oct 2025 15:21:54 -0400 Subject: [PATCH] fix: dropped path argument to extract methods regressed by bcd1ddd42864f329996d0dcf8311e52424ad0034 --- src/fuzzfetch/core.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fuzzfetch/core.py b/src/fuzzfetch/core.py index 4a5bc78a..d2f88588 100644 --- a/src/fuzzfetch/core.py +++ b/src/fuzzfetch/core.py @@ -491,10 +491,10 @@ def extract_build(self, path: PathArg) -> None: targets_remaining.remove("gtest") for ext in ("zst", "gz"): with suppress(FetcherException): - self.extract_tar(self.artifact_url(f"gtest.tests.tar.{ext}")) + self.extract_tar(self.artifact_url(f"gtest.tests.tar.{ext}"), path) break else: - self.extract_zip(self.artifact_url("gtest.tests.zip")) + self.extract_zip(self.artifact_url("gtest.tests.zip"), path) if self._platform.system == "Windows": libxul = "xul.dll" elif self._platform.system == "Linux": @@ -547,10 +547,12 @@ def extract_build(self, path: PathArg) -> None: for target in targets_remaining: for ext in ("zst", "gz"): with suppress(FetcherException): - self.extract_tar(self.artifact_url(f"{target}.tests.tar.{ext}")) + self.extract_tar( + self.artifact_url(f"{target}.tests.tar.{ext}"), path + ) break else: - self.extract_zip(self.artifact_url(f"{target}.tests.zip")) + self.extract_zip(self.artifact_url(f"{target}.tests.zip"), path) # used by Pernosco to locate source ('\n' is expected) (path / "taskcluster-build-task").write_bytes(f"{self.task_id}\n".encode())