Updated some scripts

This commit is contained in:
Markus Fleschutz
2024-09-24 21:28:31 +02:00
parent db8e7e1766
commit 7e6b42352e
10 changed files with 13 additions and 17 deletions

View File

@ -11,7 +11,7 @@
⏳ (2/4) Checking local repository... 📂C:\MyRepo
⏳ (3/4) Pulling remote updates... Already up to date.
⏳ (4/4) Pushing local updates... Everything up-to-date
✔️ Synced repo 📂MyRepo in 5 sec
Synced repo 📂MyRepo in 5 sec
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -40,7 +40,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git push' failed" }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ Synced repo 📂$pathName in $Elapsed sec"
" Synced repo 📂$pathName in $Elapsed sec"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"