From 1faad224a89a4c0ee588627fe65065e2f0d0ffc2 Mon Sep 17 00:00:00 2001 From: miigotu <miigotu@gmail.com> Date: Wed, 22 Mar 2017 09:43:20 -0700 Subject: [PATCH] Hate that I cant test this without pushing it to develop FIRST Signed-off-by: miigotu <miigotu@gmail.com> --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 052c6bf66..67515fe17 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -231,7 +231,7 @@ module.exports = function(grunt) { cmd: function() { return 'git log --oneline ' + grunt.config('last_tag') + '..HEAD'; }, stdout: false, callback: function(err, stdout) { - var commits = stdout.replace(/^[a-f0-9]{9}\s/gm, '').replace('`', '').trim(); // removes commit hashes, and ` + var commits = stdout.replace(/^[a-f0-9]{9}\s/gm, '').replace(/`/gm, '').trim(); // removes commit hashes, and ` if (commits) { grunt.config('commits', commits); } else { -- GitLab