Skip to content
Snippets Groups Projects
Commit 93d5334e authored by Moises Sacal's avatar Moises Sacal
Browse files

updated validate config

parent 9de092e4
No related merge requests found
...@@ -9,7 +9,7 @@ class JsonLdSolr { ...@@ -9,7 +9,7 @@ class JsonLdSolr {
} }
validateConfig() { validateConfig() {
// Dont you hate not knowing what the configuration needs? // Validate the configuration needs.
_.each(this.config, (config) => { _.each(this.config, (config) => {
assert.strictEqual(_.isObject(config['entryPoints']), true, 'missing entryPoints in configuration'); assert.strictEqual(_.isObject(config['entryPoints']), true, 'missing entryPoints in configuration');
_.each(config, function (entryPoints) { _.each(config, function (entryPoints) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment