Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Fix array in array
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed May 17, 2016
1 parent 95a6b97 commit a24382f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class BaseValidator {
return all

if (all === true)
return [ thisRule ]
return thisRule

return all.concat(thisRule)
},
Expand Down

0 comments on commit a24382f

Please sign in to comment.