Skip to content

Commit

Permalink
Update src/Condition.js
Browse files Browse the repository at this point in the history
Co-Authored-By: vonagam <vonagam@gmail.com>
  • Loading branch information
jquense and vonagam authored Feb 6, 2019
1 parent 178eb5e commit 67d38d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Condition.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function makeFn(options) {
let fn = function(...args) {
let options = args.pop();
let schema = args.pop();
let customizer = is.apply(undefined, args) ? then : otherwise;
let customizer = is(...args) ? then : otherwise;

return customizer(schema, options);
};
Expand Down

0 comments on commit 67d38d6

Please sign in to comment.