mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
clone_or_update initializes all submodules if none given
This commit is contained in:
parent
10147d8e0e
commit
349ef15c80
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ def clone_or_update(
|
|||
run_git_command(
|
||||
["git", "submodule", "update", "--init"] + submodules, str(repo_dir)
|
||||
)
|
||||
else:
|
||||
run_git_command(
|
||||
["git", "submodule", "update", "--init"], str(repo_dir)
|
||||
)
|
||||
|
||||
else:
|
||||
# Check refresh needed
|
||||
|
|
Loading…
Reference in a new issue