Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 22, 2021
1 parent 91f003a commit 9a3a7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schema.js
Expand Up @@ -468,7 +468,7 @@ Schema.prototype.add = function add(obj, prefix) {
prefix = prefix || '';
// avoid prototype pollution
if (prefix === '__proto__.' || prefix === 'constructor.' || prefix === 'prototype.') {
return this;
return this;
}

const keys = Object.keys(obj);
Expand Down

0 comments on commit 9a3a7b4

Please sign in to comment.