Skip to content

Commit

Permalink
fix: trim subject to show no whitespaces in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
xotahal committed May 31, 2019
1 parent f4a209a commit a07d935
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def self.git_log(pretty, start)
end

def self.parse_commit(params)
commit_subject = params[:commit_subject]
commit_subject = params[:commit_subject].strip
commit_body = params[:commit_body]
releases = params[:releases]
pattern = /^(docs|fix|feat|chore|style|refactor|perf|test)(\((.*)\))?(!?)\: (.*)/
Expand Down

0 comments on commit a07d935

Please sign in to comment.