From 085e7e4af4ab2cfa6e802385639937505cdbb89b Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 25 Nov 2021 12:46:58 -0300 Subject: [PATCH] [web] refactoring: removing unneeded call to create the Electron cache directory --- bauh/gems/web/environment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bauh/gems/web/environment.py b/bauh/gems/web/environment.py index ffc0d0f5..b2cb3642 100644 --- a/bauh/gems/web/environment.py +++ b/bauh/gems/web/environment.py @@ -192,7 +192,6 @@ class EnvironmentUpdater: return os.path.exists(NATIVEFIER_BIN_PATH) def download_electron(self, version: str, url: str, widevine: bool, watcher: ProcessWatcher) -> bool: - Path(ELECTRON_CACHE_DIR).mkdir(parents=True, exist_ok=True) self.logger.info("Downloading Electron {}".format(version)) electron_path = self._get_electron_file_path(url=url, relative=False)