From b222512e7eb7781eaa9262ff0c1152b8c46a37c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Stra=C3=9Fburger?= Date: Wed, 26 Apr 2017 17:33:13 +0200 Subject: [PATCH] :bug: adding empty callback to async writeFile --- src/TileSource.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TileSource.coffee b/src/TileSource.coffee index 360754e..2233d71 100644 --- a/src/TileSource.coffee +++ b/src/TileSource.coffee @@ -109,7 +109,7 @@ module.exports = class TileSource _persistTile: (z, x, y, buffer) -> zoom = z.toString() @_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) -> try