jira-precommit-hook
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -198,3 +198,3 @@ 'use strict'; | ||
function getIssueReference(msgToParse, prjKey) { | ||
var pattern = RegExp(prjKey + '-\\d+', 'g'); | ||
var pattern = RegExp(prjKey + '-\\d+', 'gi'); | ||
var commentPattern = RegExp('^#.*$', 'gm'); | ||
@@ -205,3 +205,5 @@ | ||
return _lodash2.default.uniq(references); | ||
return _lodash2.default.uniq(references).map(function (x) { | ||
return x.toUpperCase(); | ||
}); | ||
} /* eslint no-process-exit:0 */ |
{ | ||
"name": "jira-precommit-hook", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Git commit hook to verify commit messages are tagged with a JIRA issue number", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
59758
1304