Call write-file with correct number of args.

This commit is contained in:
John Wiseman 2020-04-04 16:37:32 -07:00
parent ac56fb0b61
commit 4d95ee73c1

View File

@ -463,9 +463,12 @@
lon)
(log-warn "Skipping tweeting"))
(let [path (str (.toFixed (/ now 1000) 0) "-" icao ".geojson")]
(util/write-file path (.stringify
js/JSON
(clj->js (util/->geojson recent-positions icao centroid))))))
(util/write-file
path
(.stringify
js/JSON
(clj->js (util/->geojson recent-positions icao centroid)))
{})))
(log-warn "Skipping tweet %s %s" image-path description)))))))))))