From 2426a7b42c1eb8f4b188eb622ff9ec9d87e8a6c1 Mon Sep 17 00:00:00 2001 From: datadunia Date: Fri, 26 Jun 2026 10:33:23 +0700 Subject: [PATCH] fix: add --recursive flag for nested submodule updates --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 6ebd766..5a06ab6 100755 --- a/update.sh +++ b/update.sh @@ -47,7 +47,7 @@ echo "[+] Syncing and updating submodules..." SUBMODULE_FAILED=false # Only update server-core and dashboard-ui (Docker components) # device-agent and device-agent-embedded are built separately -git submodule update --init --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; } +git submodule update --init --recursive --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; } # 2b. Build VitePress docs (non-blocking) echo "[+] Building VitePress documentation..."