mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +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:
|
||||
proc.append_env_path("PATH", path)
|
||||
return True
|
||||
except subprocess.CalledProcessError:
|
||||
except (subprocess.CalledProcessError, FileNotFoundError):
|
||||
pass
|
||||
return False
|
||||
|
||||
|
Reference in New Issue
Block a user