mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-25 01:23:58 +01:00
🐛 adding empty callback to async writeFile
This commit is contained in:
parent
26aa2450e1
commit
b222512e7e
@ -109,7 +109,7 @@ module.exports = class TileSource
|
|||||||
_persistTile: (z, x, y, buffer) ->
|
_persistTile: (z, x, y, buffer) ->
|
||||||
zoom = z.toString()
|
zoom = z.toString()
|
||||||
@_createFolder userhome ".mapscii", "cache", zoom
|
@_createFolder userhome ".mapscii", "cache", zoom
|
||||||
fs.writeFile userhome(".mapscii", "cache", zoom, "#{x}-#{y}.pbf"), buffer
|
fs.writeFile userhome(".mapscii", "cache", zoom, "#{x}-#{y}.pbf"), buffer, -> null
|
||||||
|
|
||||||
_getPersited: (z, x, y) ->
|
_getPersited: (z, x, y) ->
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user