mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-28 01:28:50 +01:00
Updated pull-repos.ps1
This commit is contained in:
parent
e1ffab5509
commit
836c038fd7
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user