Fixed kondo warnings.

This commit is contained in:
John Wiseman 2020-05-11 16:59:36 -07:00
parent d51ecb1014
commit 5f078b4e54
6 changed files with 7 additions and 1 deletions

View File

@ -17,8 +17,10 @@
[lemondronor.advisorycircular.util :as util] [lemondronor.advisorycircular.util :as util]
["sqlite" :as sqlite])) ["sqlite" :as sqlite]))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "advisorycircular" logger) (logging/deflog "advisorycircular" logger)
(def log-prefix (atom "")) (def log-prefix (atom ""))

View File

@ -3,7 +3,6 @@
(ns lemondronor.advisorycircular.adsbx (ns lemondronor.advisorycircular.adsbx
(:require (:require
["fs" :as fs]
["puppeteer" :as puppeteer] ["puppeteer" :as puppeteer]
[clojure.string :as string] [clojure.string :as string]
[goog.string :as gstring] [goog.string :as gstring]
@ -11,6 +10,7 @@
[lemondronor.advisorycircular.logging :as logging] [lemondronor.advisorycircular.logging :as logging]
goog.string.format)) goog.string.format))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "adsbx" logger) (logging/deflog "adsbx" logger)
(def user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/53 (KHTML, like Gecko) Chrome/15.0.87") (def user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/53 (KHTML, like Gecko) Chrome/15.0.87")

View File

@ -6,6 +6,7 @@
[lemondronor.advisorycircular.logging :as logging] [lemondronor.advisorycircular.logging :as logging]
["geolib" :as geolib])) ["geolib" :as geolib]))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "geo" logger) (logging/deflog "geo" logger)

View File

@ -8,6 +8,7 @@
[lemondronor.advisorycircular.logging :as logging] [lemondronor.advisorycircular.logging :as logging]
[lemondronor.advisorycircular.util :as util])) [lemondronor.advisorycircular.util :as util]))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "pelias" logger) (logging/deflog "pelias" logger)

View File

@ -8,6 +8,7 @@
(def fsprom (.-promises fs)) (def fsprom (.-promises fs))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "twitter" logger) (logging/deflog "twitter" logger)

View File

@ -6,6 +6,7 @@
["request-promise-native" :as request] ["request-promise-native" :as request]
["js-yaml" :as yaml])) ["js-yaml" :as yaml]))
(declare logger log-debug log-verbose log-info log-warn log-error)
(logging/deflog "util" logger) (logging/deflog "util" logger)
(def fs-promises (.-promises fs)) (def fs-promises (.-promises fs))