diff --git a/ugit.types.ps1xml b/ugit.types.ps1xml index a1ee93e2..76b1118f 100644 --- a/ugit.types.ps1xml +++ b/ugit.types.ps1xml @@ -281,9 +281,9 @@ Pop-Location if ($this.CommitMessage -match '^(?<Type>[^\r\n]+?):\s{0,}(?<Message>[^\r\n]+)') { $matchType = $Matches.Type if ($matchType -match '\(') { - $this.Type -replace '\(.+$' + $matchType -replace '\(.+$' } else { - $this.Type + $matchType } } else { return ''