diff --git a/lib/RallyValidate.js b/lib/RallyValidate.js index 23d8af6..e260537 100644 --- a/lib/RallyValidate.js +++ b/lib/RallyValidate.js @@ -726,7 +726,9 @@ class RallyValidate { const regexp = RegExp('\\b' + prefix + '[0-9]{1,10}\\b', 'gi') const artifactMatches = text.match(regexp) if (artifactMatches) { - artifacts = artifacts.concat(artifactMatches) + artifacts = artifacts.concat(artifactMatches.map( + artifactMatch => artifactMatch.toUpperCase()) + ) } }) return artifacts @@ -769,7 +771,7 @@ class RallyValidate { const artifactMatches = matches.map(match => { const artifactMatch = { command: command, - artifact: match.substr(command.length + 2) + artifact: match.substr(command.length + 2).toUpperCase() } return artifactMatch })