From 5f078b4e54659709e995985925b53294dca3e387 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Mon, 11 May 2020 16:59:36 -0700 Subject: [PATCH] Fixed kondo warnings. --- src/main/lemondronor/advisorycircular.cljs | 2 ++ src/main/lemondronor/advisorycircular/adsbx.cljs | 2 +- src/main/lemondronor/advisorycircular/geo.cljc | 1 + src/main/lemondronor/advisorycircular/pelias.cljs | 1 + src/main/lemondronor/advisorycircular/twitter.cljs | 1 + src/main/lemondronor/advisorycircular/util.cljs | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/lemondronor/advisorycircular.cljs b/src/main/lemondronor/advisorycircular.cljs index d3f568e..d0ccb95 100644 --- a/src/main/lemondronor/advisorycircular.cljs +++ b/src/main/lemondronor/advisorycircular.cljs @@ -17,8 +17,10 @@ [lemondronor.advisorycircular.util :as util] ["sqlite" :as sqlite])) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "advisorycircular" logger) + (def log-prefix (atom "")) diff --git a/src/main/lemondronor/advisorycircular/adsbx.cljs b/src/main/lemondronor/advisorycircular/adsbx.cljs index 5b4ecfc..99dae1a 100644 --- a/src/main/lemondronor/advisorycircular/adsbx.cljs +++ b/src/main/lemondronor/advisorycircular/adsbx.cljs @@ -3,7 +3,6 @@ (ns lemondronor.advisorycircular.adsbx (:require - ["fs" :as fs] ["puppeteer" :as puppeteer] [clojure.string :as string] [goog.string :as gstring] @@ -11,6 +10,7 @@ [lemondronor.advisorycircular.logging :as logging] goog.string.format)) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "adsbx" logger) (def user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/53 (KHTML, like Gecko) Chrome/15.0.87") diff --git a/src/main/lemondronor/advisorycircular/geo.cljc b/src/main/lemondronor/advisorycircular/geo.cljc index 8b3a3ff..219ec6c 100644 --- a/src/main/lemondronor/advisorycircular/geo.cljc +++ b/src/main/lemondronor/advisorycircular/geo.cljc @@ -6,6 +6,7 @@ [lemondronor.advisorycircular.logging :as logging] ["geolib" :as geolib])) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "geo" logger) diff --git a/src/main/lemondronor/advisorycircular/pelias.cljs b/src/main/lemondronor/advisorycircular/pelias.cljs index e738fae..63bcf48 100644 --- a/src/main/lemondronor/advisorycircular/pelias.cljs +++ b/src/main/lemondronor/advisorycircular/pelias.cljs @@ -8,6 +8,7 @@ [lemondronor.advisorycircular.logging :as logging] [lemondronor.advisorycircular.util :as util])) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "pelias" logger) diff --git a/src/main/lemondronor/advisorycircular/twitter.cljs b/src/main/lemondronor/advisorycircular/twitter.cljs index 5d53406..3dee483 100644 --- a/src/main/lemondronor/advisorycircular/twitter.cljs +++ b/src/main/lemondronor/advisorycircular/twitter.cljs @@ -8,6 +8,7 @@ (def fsprom (.-promises fs)) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "twitter" logger) diff --git a/src/main/lemondronor/advisorycircular/util.cljs b/src/main/lemondronor/advisorycircular/util.cljs index 3ff35fe..01c825c 100644 --- a/src/main/lemondronor/advisorycircular/util.cljs +++ b/src/main/lemondronor/advisorycircular/util.cljs @@ -6,6 +6,7 @@ ["request-promise-native" :as request] ["js-yaml" :as yaml])) +(declare logger log-debug log-verbose log-info log-warn log-error) (logging/deflog "util" logger) (def fs-promises (.-promises fs))