diff --git a/bin/clj-kondo b/bin/clj-kondo index 04bcc3c7..9d0b5460 100755 --- a/bin/clj-kondo +++ b/bin/clj-kondo @@ -3,7 +3,7 @@ set -euo pipefail -CLJ_KONDO_VERSION="2022.10.14" +CLJ_KONDO_VERSION="2023.07.13" ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/../" && pwd) function ensure_clj_kondo() { diff --git a/src/clojars/admin.clj b/src/clojars/admin.clj index ffd6c15f..8ba11bb0 100644 --- a/src/clojars/admin.clj +++ b/src/clojars/admin.clj @@ -16,9 +16,9 @@ (defn current-date-str [] (.format (SimpleDateFormat. "yyyyMMdd") (db/get-time))) -(def ^:dynamic *db*) -(def ^:dynamic *search*) -(def ^:dynamic *storage*) +(def ^:dynamic *db* nil) +(def ^:dynamic *search* nil) +(def ^:dynamic *storage* nil) (defn backup-dir [base-dir path] (io/file base-dir diff --git a/test/clojars/unit/admin_test.clj b/test/clojars/unit/admin_test.clj index 0ba06d34..8cffcf2f 100644 --- a/test/clojars/unit/admin_test.clj +++ b/test/clojars/unit/admin_test.clj @@ -32,7 +32,7 @@ (defn in-backup-somewhere? [name] (some #{name} (map (memfn getName) (file-seq (io/file (:deletion-backup-dir (config))))))) -(def ^:dynamic *search-removals*) +(def ^:dynamic *search-removals* nil) (defmacro with-repo-setup [& body] `(let [jar# (io/file (io/resource "fake.jar"))]