Skip to content

Commit

Permalink
feat: git.log.CommitType ( Fixes #301 )
Browse files Browse the repository at this point in the history
Fixing inner variables
  • Loading branch information
StartAutomating authored and StartAutomating committed Sep 25, 2024
1 parent 07457f6 commit 4403853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ugit.types.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down

0 comments on commit 4403853

Please sign in to comment.