1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-03 06:00:14 +02:00

Update switch-branch.ps1

This commit is contained in:
Markus Fleschutz
2022-12-16 11:27:24 +01:00
parent 153f8d9ad5
commit b4ef446aee

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