Comparing version 4.1.0 to 4.1.1
@@ -108,5 +108,8 @@ var tilelive = exports; | ||
handler.getInfo(function(err, data) { | ||
_(data).defaults(tilelive.defaults); | ||
if (err) return callback(err, data, handler); | ||
callback(null, data, handler); | ||
if (data) { | ||
_(data).defaults(tilelive.defaults); | ||
callback(err, data, handler); | ||
} else { | ||
callback(err); | ||
} | ||
}); | ||
@@ -134,4 +137,6 @@ }); | ||
tilelive.info(uris[id], function(err, data, handler) { | ||
if (handler) handlers.push(handler); | ||
if (!err && data) models.push(data); | ||
if (!err && data && handler) { | ||
models.push(data); | ||
handlers.push(handler); | ||
} | ||
next(err); | ||
@@ -138,0 +143,0 @@ }); |
{ | ||
"name" : "tilelive", | ||
"version" : "4.1.0", | ||
"version" : "4.1.1", | ||
"main" : "./lib/tilelive.js", | ||
@@ -5,0 +5,0 @@ "description" : "Frontend for various tile backends, mapnik and mbtiles", |
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
3693920
4557