esbootstrap
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -50,9 +50,9 @@ var elasticsearch = require('elasticsearch'); | ||
client.indices.putMapping(options.mappingRequestBody) | ||
}) | ||
.then(function(){ | ||
if (options.fixtures) { | ||
self.loadFixtures(options, callback); | ||
} else { | ||
setTimeout(callback, 1500); | ||
} | ||
.then(function(){ | ||
if (options.fixtures) { | ||
self.loadFixtures(options, callback); | ||
} else { | ||
setTimeout(callback, 1500); | ||
} | ||
}); | ||
})['finally'](function(){ | ||
@@ -59,0 +59,0 @@ client.close(); |
{ | ||
"name": "esbootstrap", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Helper to bootstrap an index and load fixtures to an elasticsearch instance", | ||
@@ -5,0 +5,0 @@ "main": "esbootstrap.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26340