mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Update switch-branch.ps1
This commit is contained in:
parent
d3f95bb4b7
commit
81e4acdefd
@ -53,7 +53,7 @@ try {
|
||||
|
||||
$RepoDirName = (get-item "$RepoDir").Name
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ switched repo 📂$RepoDirName to '$BranchName' branch in $Elapsed sec"
|
||||
"✔️ switched 📂$RepoDirName repo to '$BranchName' branch in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user