Skip to content

Commit

Permalink
Resolved #7. last commit found is processed now
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Apr 15, 2021
1 parent 102ce09 commit 9e312ed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ func tokenizeCommits(commits []commit) ([]prose.Token, error) {
}

for i := range commits {
msg := replacecommits.Replace(commits[i].Message)
if i != len(commits)-1 {
msg += " . "
}
msg := replacecommits.Replace(commits[i].Message) + " . "
allCommits.WriteString(msg)
}
// allstr :=allCommits.String() // debugging purposes
Expand Down

0 comments on commit 9e312ed

Please sign in to comment.