Updated pull-repos.ps1

This commit is contained in:
Markus Fleschutz 2024-08-15 10:11:43 +02:00
parent e1ffab5509
commit 836c038fd7

View File

@ -48,10 +48,10 @@ try {
} }
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$elapsed = $stopWatch.Elapsed.TotalSeconds
if ($failed -eq 0) { if ($failed -eq 0) {
"✔️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s." "✔️ Updated $numFolders repos under 📂$parentDirName in $($elapsed)s."
exit 0 # success exit 0 # success
} else { } else {
"⚠️ Updated $numFolders repositories under 📂$parentDirName in $($elapsed)s but $failed failed!" "⚠️ Updated $numFolders repos under 📂$parentDirName in $($elapsed)s but $failed failed!"
exit 1 exit 1
} }
} catch { } catch {