mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-26 01:43:37 +01:00
Updated pull-repos.ps1
This commit is contained in:
parent
6f3c566b3c
commit
87ade208bf
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user