Skip to content

Commit

Permalink
Use sanitized subject instead of raw subject
Browse files Browse the repository at this point in the history
  • Loading branch information
joshacheson committed Jun 27, 2018
1 parent c320382 commit 8128716
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 = "%s" // this is subject, not message, so it'll only be one line
const message = "%f" // 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 8128716

Please sign in to comment.