diff --git a/Gruntfile.js b/Gruntfile.js index cbc62b1d08f384831936af4c163694f24ba3e6c2..44d7184817232fd79c150751a48b73fc68b23784 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -216,7 +216,7 @@ module.exports = function(grunt) { 'crowdin_upload': {cmd: 'crowdin-cli-py upload sources'}, 'crowdin_download': {cmd: 'crowdin-cli-py download'}, 'babel_compile': {cmd: 'python setup.py compile_catalog'}, - + // Run tests 'test': {cmd: 'yarn run test || npm run test'}, @@ -306,7 +306,7 @@ module.exports = function(grunt) { stdout: false, callback: function(err, stdout) { var commits = stdout.trim() - .replace(/`/gm, '').replace(/^\([\w\d\s,.\-+_/>]+\)\s/gm, '').replace(/[()]/gm, ''); // removes ` and tag information + .replace(/`/gm, '').replace(/^\([\w\d\s,.\-+_/>]+\)\s/gm, ''); // removes ` and tag information if (commits) { grunt.config('commits', commits); } else {