From 99a6a6ef728b37c402bded1a1a196c37abebf1ec Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 27 Feb 2018 09:32:40 +0100 Subject: [PATCH] Fix output formatting messed up by VS console. The second colon (:) has strange effects in the "Output" window of VisualStudio, messing up the text alignment. --- Scripts/Prepare-Build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/Prepare-Build.ps1 b/Scripts/Prepare-Build.ps1 index 3198e85..e2b46c7 100644 --- a/Scripts/Prepare-Build.ps1 +++ b/Scripts/Prepare-Build.ps1 @@ -66,8 +66,8 @@ try { $DescItems = Parse-GitDescribe $CommitName if ($GitStatus.Length -gt 0) { - $StatusWarning = " <-- WARNING: repository has uncommitted changes!" - $CommitName = "$($CommitName)-unclean" + $StatusWarning = " <-- WARNING, repository has uncommitted changes!" + $CommitName += "-unclean" } } catch { -- GitLab