Skip to content

Commit

Permalink
update x variable name to value
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-hull committed Jan 6, 2022
1 parent a214d92 commit 64474cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ValidationUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function isValidRoutingNumber(number) {
* @returns {Boolean[]}
*/
function doesFailCharacterLimit(maxLength, valuesToBeValidated) {
return _.map(valuesToBeValidated, x => x.length > maxLength);
return _.map(valuesToBeValidated, value => value.length > maxLength);
}

export {
Expand Down

0 comments on commit 64474cd

Please sign in to comment.