mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-24 19:08:27 +02:00
Updated pull-repos.ps1
This commit is contained in:
parent
6f3c566b3c
commit
87ade208bf
@ -48,10 +48,10 @@ try {
|
|||||||
}
|
}
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
if ($failed -eq 0) {
|
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
|
exit 0 # success
|
||||||
} else {
|
} 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
|
exit 1
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user