Skip to content

Commit eaf1425

Browse files
committed
remove: unnecessary context
1 parent e100129 commit eaf1425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/schema/array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ handle.$or = createLogicalQueryOperatorHandler('$or');
637637
handle.$and = createLogicalQueryOperatorHandler('$and');
638638
handle.$nor = createLogicalQueryOperatorHandler('$nor');
639639

640-
function createLogicalQueryOperatorHandler(op, context) {
640+
function createLogicalQueryOperatorHandler(op) {
641641
return function logicalQueryOperatorHandler(val, context) {
642642
if (!Array.isArray(val)) {
643643
throw new TypeError('conditional ' + op + ' requires an array');

0 commit comments

Comments
 (0)