mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-26 22:51:57 +01:00
Update fetch-repos.ps1
This commit is contained in:
parent
f864fa1d3a
commit
b8beb3ef27
@ -43,7 +43,7 @@ try {
|
||||
if ($lastExitCode -ne "0") { throw "'git fetch' in $Folder failed with exit code $lastExitCode" }
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Fetching updates into $NumFolders repositories under 📂$ParentDirName took $Elapsed sec"
|
||||
"✔️ Fetched updates into 📂$ParentDirName ($NumFolders repos) in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user