mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-06 23:50:09 +02:00
Update switch-branch.ps1
This commit is contained in:
@ -48,7 +48,7 @@ try {
|
|||||||
& git -C "$RepoDir" pull --recurse-submodules
|
& git -C "$RepoDir" pull --recurse-submodules
|
||||||
if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" }
|
if ($lastExitCode -ne "0") { throw "'git pull' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
"⏳ (6/6) - Updating submodules..."
|
"⏳ (6/6) Updating submodules..."
|
||||||
& git -C "$RepoDir" submodule update --init --recursive
|
& git -C "$RepoDir" submodule update --init --recursive
|
||||||
if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" }
|
if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user