Skip to content

Commit 869078f

Browse files
committed
update to latest kondo and fix linting errors
1 parent eb9bdda commit 869078f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66
:aliases {
77
;; clj -M:lint
8-
:lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2022.12.08"}}
8+
:lint {:replace-deps {clj-kondo/clj-kondo {:mvn/version "2025.04.07"}}
99
:main-opts ["-m" "clj-kondo.main" "--lint" "src/main/clojure" "--lint" "src/test/clojure"]}
1010

1111
;; clj -M:outdated

src/main/clojure/clojure/tools/deps/cli/api.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
:artifact-id (.getArtifactId model)
300300
:version (.getVersion model)
301301
:pom-file pom})
302-
(throw (FileNotFoundException. (str "Pom file not found: " (str pom)))))))
302+
(throw (FileNotFoundException. (str "Pom file not found: " pom))))))
303303

304304
(defn- gen-pom-file
305305
[lib version classifier]

src/test/clojure/clojure/tools/deps/cli/test_api.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(:import
1212
[java.io File]))
1313

14-
(def ^:dynamic ^File *test-dir*)
14+
(def ^:dynamic ^File *test-dir* nil)
1515

1616
(defmacro with-test-dir
1717
[& body]

0 commit comments

Comments
 (0)