Update fetch-repo.ps1 and pull-repo.ps1

This commit is contained in:
Markus Fleschutz 2023-08-04 11:42:23 +02:00
parent 2545d4f8db
commit cebc8fd9e2
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git fetch --all' failed with exit code $lastExitCode" }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ Fetching updates into 📂$RepoDirName repo took $Elapsed sec"
"✔️ Fetching updates into repository 📂$RepoDirName took $Elapsed sec"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

View File

@ -37,7 +37,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ Updating 📂$RepoDirName repo took $Elapsed sec"
"✔️ Pulling updates into repository 📂$RepoDirName took $Elapsed sec"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"