Skip to content

Commit

Permalink
Fix Validator._replaceWildCards (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-selesti authored Mar 19, 2020
1 parent 02bb0de commit 1dd01de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Validator.prototype = {
if(Array.isArray(path2)){
path2 = path2[0];
}
pos = path2.indexOf('*');
const pos = path2.indexOf('*');
if (pos === -1) {
return path2;
}
Expand Down

0 comments on commit 1dd01de

Please sign in to comment.