Skip to content

Commit

Permalink
crash exp
Browse files Browse the repository at this point in the history
  • Loading branch information
bitnbytesio committed Jul 4, 2019
1 parent 47f6c18 commit 8a2ef4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class Validator {

}

rsplit = rules[field].split('|');
rsplit = rules[field].toString().split('|');

let rs;

Expand Down
1 change: 0 additions & 1 deletion test/crashes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ let r = {};
describe('crash', function () {



it('passing clousers and hex', async () => {

let v = new Validator({ name: function () { }, tape: 0x023 }, { name: 'required', tape: 'required|integer' });
Expand Down

0 comments on commit 8a2ef4b

Please sign in to comment.