mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-26 18:46:29 +00:00
Fix submodules - check if it is needed or not (#2426)
This commit is contained in:
parent
01a6e074a5
commit
3e9de0c210
@ -160,6 +160,7 @@ class GitRepo(CoreSysAttributes):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Update submodules
|
# Update submodules
|
||||||
|
if len(self.repo.submodules) > 0:
|
||||||
await self.sys_run_in_executor(
|
await self.sys_run_in_executor(
|
||||||
ft.partial(
|
ft.partial(
|
||||||
self.repo.git.submodule.root.update,
|
self.repo.git.submodule.root.update,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user