Updated pull-repos.ps1

This commit is contained in:
Markus Fleschutz 2024-02-29 15:59:11 +01:00
parent a88ee6031a
commit 80a756cf3e

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) {
"✔️ Pulled updates into $numFolders repos under 📂$parentDirName in $elapsed sec." "✔️ Updated $numFolders repos under 📂$parentDirName in $elapsed sec."
exit 0 # success exit 0 # success
} else { } else {
"⚠️ Pulled updates into $numFolders repos under 📂$parentDirName but $failed failed (took $elapsed sec)." "⚠️ Updated $numFolders repos under 📂$parentDirName but $failed failed (took $elapsed sec)."
exit 1 exit 1
} }
} catch { } catch {