Skip to content

Commit

Permalink
Ignore deep flag on object keys contain. Closes #330
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Sep 9, 2019
1 parent bf43cc0 commit 966fcb1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/contain.js
Expand Up @@ -164,7 +164,6 @@ internals.object = function (ref, values, options) {
// Keys list

if (Array.isArray(values)) {
Assert(options.deep === undefined, 'Cannot use option once with object keys list');
return internals.array(keys, values, options);
}

Expand Down

0 comments on commit 966fcb1

Please sign in to comment.