Fix incorrect variable name for working directory in submodule update command

This commit is contained in:
crazywhalecc 2026-02-05 20:56:50 +08:00
parent a07265787b
commit 807b90b182
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -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);
}
}
}