We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7c7a2 commit 56d5dabCopy full SHA for 56d5dab
src/pysonar_scanner/jre.py
@@ -103,7 +103,7 @@ def __download_jre(self, jre: JRE) -> Optional[pathlib.Path]:
103
cache_file = self.cache.get_file(jre.filename, jre.sha256)
104
cache_file.filepath.unlink(missing_ok=True)
105
106
- with cache_file.open(mode="wb") as f:
+ with open(cache_file.filepath, mode="wb") as f:
107
if jre.download_url is not None:
108
self.api.download_file_from_url(jre.download_url, f)
109
elif jre.id is not None:
0 commit comments