mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-01 02:54:25 +02:00
Better error handling if git is not installed // Resolve #4013
This commit is contained in:
@@ -150,7 +150,7 @@ class GitClient(VCSClientBase):
|
|||||||
if path:
|
if path:
|
||||||
proc.append_env_path("PATH", path)
|
proc.append_env_path("PATH", path)
|
||||||
return True
|
return True
|
||||||
except subprocess.CalledProcessError:
|
except (subprocess.CalledProcessError, FileNotFoundError):
|
||||||
pass
|
pass
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user