Skip to content

Commit

Permalink
run gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nathreed committed May 17, 2024
1 parent d9125e9 commit ae71daf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mbtiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func CreateMetadata(tj *TileJSON, opts CreateMetadataOptions) MbTilesMetadata {
}
meta["center"] = center
}

// mbtiles spec requires the json field for vector format and it's not meaningful for rasters
if opts.Format == Pbf {
metaJSONField := CreateMetadataJSON(tj)
Expand Down
2 changes: 1 addition & 1 deletion writers.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func NewWriters(args Args, tj *TileJSON) (writer TileWriter, bulkWriter TileBulk
meta := CreateMetadata(tj, CreateMetadataOptions{
Filename: args.TileJSON,
Version: args.Version,
Format: Pbf,
Format: Pbf,
})
err = mbWriter.BulkWriteMetadata(meta)
return
Expand Down

0 comments on commit ae71daf

Please sign in to comment.