From c949bb828cbcbff46e53bfb44c27556c846b58ea Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 30 Nov 2022 11:36:08 +0100 Subject: [PATCH] Update new-branch.ps1 --- Scripts/new-branch.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/new-branch.ps1 b/Scripts/new-branch.ps1 index d8a132ca..8a9b8af5 100755 --- a/Scripts/new-branch.ps1 +++ b/Scripts/new-branch.ps1 @@ -27,7 +27,7 @@ try { if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } $RepoDirName = (Get-Item "$RepoDir").Name - "⏳ (2/6) Checking Git repositoryr 📂$RepoDirName... " + "⏳ (2/6) Checking Git repository 📂$RepoDirName... " if (-not(Test-Path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } "⏳ (3/6) Fetching updates..." @@ -50,7 +50,7 @@ try { if ($lastExitCode -ne "0") { throw "'git submodule update' failed with exit code $lastExitCode" } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ created new '$NewBranchName' branch in 📂$RepoDirName repo in $Elapsed sec (based on '$CurrentBranchName' branch)" + "✔️ created new branch '$NewBranchName' (based on '$CurrentBranchName') in 📂$RepoDirName repo in $Elapsed sec." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"