mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-29 21:24:45 +02:00
Updated fetch-repos.ps1 and pull-repos.ps1
This commit is contained in:
parent
e936628a1b
commit
2d7714c242
@ -44,7 +44,7 @@ try {
|
||||
$step++
|
||||
}
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s."
|
||||
"✅ Fetched updates into $numFolders Git repositories at 📂$parentDirPath in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
@ -48,10 +48,10 @@ try {
|
||||
}
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
if ($failed -eq 0) {
|
||||
"✅ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s."
|
||||
"✅ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} else {
|
||||
"⚠️ $numFolders Git repositories updated at 📂$parentDir in $($elapsed)s but $failed failed!"
|
||||
"⚠️ $numFolders Git repositories at 📂$parentDir updated in $($elapsed)s but $failed failed!"
|
||||
exit 1
|
||||
}
|
||||
} catch {
|
||||
|
Loading…
Reference in New Issue
Block a user