Call write-file with correct number of args.
This commit is contained in:
parent
ac56fb0b61
commit
4d95ee73c1
@ -463,9 +463,12 @@
|
|||||||
lon)
|
lon)
|
||||||
(log-warn "Skipping tweeting"))
|
(log-warn "Skipping tweeting"))
|
||||||
(let [path (str (.toFixed (/ now 1000) 0) "-" icao ".geojson")]
|
(let [path (str (.toFixed (/ now 1000) 0) "-" icao ".geojson")]
|
||||||
(util/write-file path (.stringify
|
(util/write-file
|
||||||
|
path
|
||||||
|
(.stringify
|
||||||
js/JSON
|
js/JSON
|
||||||
(clj->js (util/->geojson recent-positions icao centroid))))))
|
(clj->js (util/->geojson recent-positions icao centroid)))
|
||||||
|
{})))
|
||||||
(log-warn "Skipping tweet %s %s" image-path description)))))))))))
|
(log-warn "Skipping tweet %s %s" image-path description)))))))))))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user