Updated pull-repos.ps1

This commit is contained in:
Markus Fleschutz 2024-06-09 11:32:13 +02:00
parent 6f3c566b3c
commit 87ade208bf

View File

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