Skip to content

Commit

Permalink
Use full unformatted subject message
Browse files Browse the repository at this point in the history
We want to use danger js locally to check the format of conventional commits for the commit messages. Due to that, we need to have a full unformatted subject line. Similar issue is explained in #977
  • Loading branch information
denieler committed Mar 19, 2021
1 parent 13c251a commit 6a17936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/platforms/git/localGetCommits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const authorDate = "%ai"
const committerName = "%cn"
const committerEmail = "%ce"
const committerDate = "%ci"
const message = "%f" // this is subject, not message, so it'll only be one line
const message = "%s" // this is subject, not message, so it'll only be one line

const author = `"author": {"name": "${authorName}", "email": "${authorEmail}", "date": "${authorDate}" }`
const committer = `"committer": {"name": "${committerName}", "email": "${committerEmail}", "date": "${committerDate}" }`
Expand Down

0 comments on commit 6a17936

Please sign in to comment.