Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lynchem committed Sep 17, 2020
1 parent b81646a commit ba59495
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package/lib/ValidationContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ export default class ValidationContext {
Object.keys(schema).forEach(key => {
const schemaElement = schema[key];
schemaElement.type.definitions && schemaElement.type.definitions.forEach(def => {
if(typeof def.type === "object") {
if (typeof def.type === 'object') {
addDeps(def.type._schema, keys.concat(key));
} else {
const fullKey = keys.concat(key).join(".");
const fullKey = keys.concat(key).join('.');
this._deps[fullKey] = new tracker.Dependency();
}
})
});
});
}
};
addDeps(this._schema);
}
}
Expand Down

0 comments on commit ba59495

Please sign in to comment.