Skip to content

Commit

Permalink
Changed flag to %s for better commit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jan 12, 2016
1 parent 3782183 commit f14fb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -474,7 +474,7 @@ gulp.task('coveralls', 'generates code coverage for the frontend', [], function

gulp.task('build:write-log', 'writes git log to file for system information display', function(){

var prettyFormat = '{%n "commit": "%H",%n "author": "%an <%aE>",%n "date": "%aI",%n "message": "%f",%n "refs": "%d"%n}';
var prettyFormat = '{%n "commit": "%H",%n "author": "%an <%aE>",%n "date": "%aI",%n "message": "%s",%n "refs": "%d"%n}';

plugins.git.exec({args : '--no-pager log -n 1 --pretty=format:\''+prettyFormat+'\' HEAD'}, function (err, lastCommit) {
if (err) throw err;
Expand Down

0 comments on commit f14fb60

Please sign in to comment.