Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/RallyValidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
})
Expand Down