Updated fetch-repos.ps1 and pull-repos.ps1

This commit is contained in:
Markus Fleschutz 2024-11-28 17:27:48 +01:00
parent de90e60b2e
commit 829c22d3fb
2 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ try {
$step++
}
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✅ Fetched into $numFolders repos under 📂$parentDirPathName in $($elapsed)s."
"✅ Fetched into $numFolders repos at 📂$parentDirPath in $($elapsed)s."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -9,7 +9,7 @@
PS> ./pull-repos C:\MyRepos
(1) Searching for Git executable... git version 2.43.0
(2) Checking parent folder... 33 subfolders
(3/35) Pulling into 📂base256unicode...
(3/35) Pulling into 📂base256U...
...
.LINK
https://github.com/fleschutz/PowerShell
@ -48,10 +48,10 @@ try {
}
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
if ($failed -eq 0) {
"Updated $numFolders repos at 📂$parentDir in $($elapsed)s."
"Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s."
exit 0 # success
} else {
"⚠️ Updated $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!"
"⚠️ Pulled into $numFolders repos at 📂$parentDir in $($elapsed)s but $failed failed!"
exit 1
}
} catch {