Updated pull-repo.ps1

This commit is contained in:
Markus Fleschutz 2024-05-16 07:28:18 +02:00
parent b7e107ecd6
commit 60cc93dbbd

View File

@ -11,7 +11,7 @@
(2/4) Checking local repository... 📂C:\Repos\rust
(3/4) Pulling remote updates...
(4/4) Updating submodules...
Pulled remote updates into 📂rust repo in 14s.
Updates pulled into 📂rust repo in 14s.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -42,7 +42,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" }
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✔️ Pulled remote updates into 📂$pathToRepoName repo in $($elapsed)s."
"✔️ Updates pulled into 📂$pathToRepoName repo in $($elapsed)s."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"