From 807b90b1828cc70acee439713c61321e6f2b8977 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Thu, 5 Feb 2026 20:56:50 +0800 Subject: [PATCH] Fix incorrect variable name for working directory in submodule update command --- src/StaticPHP/Runtime/Shell/DefaultShell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StaticPHP/Runtime/Shell/DefaultShell.php b/src/StaticPHP/Runtime/Shell/DefaultShell.php index a6421bdb..5b50d152 100644 --- a/src/StaticPHP/Runtime/Shell/DefaultShell.php +++ b/src/StaticPHP/Runtime/Shell/DefaultShell.php @@ -104,7 +104,7 @@ class DefaultShell extends Shell $submodule_cmd = clean_spaces("{$git} submodule update --init {$depth_flag} {$submodule}"); $this->logCommandInfo($submodule_cmd); logger()->debug("[GIT SUBMODULE] {$submodule_cmd}"); - $this->passthru($submodule_cmd, $this->console_putput, cwd: $path_arg); + $this->passthru($submodule_cmd, $this->console_putput, cwd: $path); } } }