From 4d95ee73c14b7c5c0e60f414c17b927ec944350d Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Sat, 4 Apr 2020 16:37:32 -0700 Subject: [PATCH] Call write-file with correct number of args. --- src/main/lemondronor/circlebot.cljs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/lemondronor/circlebot.cljs b/src/main/lemondronor/circlebot.cljs index a592b4e..4ec0556 100644 --- a/src/main/lemondronor/circlebot.cljs +++ b/src/main/lemondronor/circlebot.cljs @@ -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)))))))))))