mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-13 17:38:45 +01:00
Updated pull-repo.ps1
This commit is contained in:
parent
b7e107ecd6
commit
60cc93dbbd
@ -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])"
|
||||
|
Loading…
Reference in New Issue
Block a user