mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 18:08:18 +02:00
Updated pull-repos.ps1
This commit is contained in:
parent
2a009f311f
commit
59569a41c1
@ -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 repos under 📂$parentDirName in $($elapsed)s."
|
"✅ Updated $numFolders repos at 📂$parentDir in $($elapsed)s."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
"⚠️ Updated $numFolders repos under 📂$parentDirName in $($elapsed)s but $failed failed!"
|
"⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user