Improve the output

This commit is contained in:
Markus Fleschutz 2021-04-22 09:24:19 +02:00
parent 6b66cb1b6c
commit 07fdba4d1d
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ try {
}
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ fetched $Count Git repositories at 📂$ParentDir in $Elapsed sec."
"✔️ fetched updates for $Count Git repositories at 📂$ParentDir in $Elapsed sec."
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -18,7 +18,7 @@ try {
[int]$Count = 0
get-childItem $ParentDir -attributes Directory | foreach-object {
"⏳ Pulling updates for Git repository 📂$($_.FullName) ..."
"⏳ Pulling updates for Git repository 📂$($_.Name) ..."
set-location $_.FullName
@ -30,7 +30,7 @@ try {
}
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ updated $Count Git repositories at 📂$ParentDir in $Elapsed sec."
"✔️ pulled updates for $Count Git repositories at 📂$ParentDir in $Elapsed sec."
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"