Skip to content

Commit

Permalink
fix line formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alianthes committed Nov 6, 2015
1 parent f514fae commit b5e979e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/geojson.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ GeoJSON.prototype.getExtent = function(callback) {

GeoJSON.prototype.getDetails = function(callback) {
// Setup vector layers json
var actual;
try {
var actual = this.datasource.describe();
actual = this.datasource.describe();
} catch (err) {
return callback(invalid('Invalid geojson'));
}

var fields = actual.fields;
var json = {
vector_layers: [
Expand Down

0 comments on commit b5e979e

Please sign in to comment.