Skip to content

Commit 2991c5d

Browse files
committed
internal deps: update clj-kondo
New linter found a thing! :) Applied a correction.
1 parent 65280f7 commit 2991c5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
;;
2222
:lint-cache {:replace-paths ["src"]} ;; when building classpath we want to exclude resources
2323
;; so we do not pick up our own clj-kondo config exports
24-
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2022.03.09"}}
24+
:clj-kondo {:extra-deps {clj-kondo/clj-kondo {:mvn/version "2022.04.08"}}
2525
:override-deps {org.clojure/clojure {:mvn/version "1.11.1"}}
2626
:main-opts ["-m" "clj-kondo.main"]}
2727

src/rewrite_clj/reader.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@
239239
ch)))))
240240

241241
#?(:clj
242-
(defn ^Closeable newline-normalizing-reader
242+
(defn newline-normalizing-reader
243243
"Normalizes the following line endings to LF (line feed - 0x0A):
244244
- LF (remains LF)
245245
- CRLF (carriage return 0x0D line feed 0x0A)
246246
- CRFF (carriage return 0x0D form feed 0x0C)"
247-
[rdr]
247+
^Closeable [rdr]
248248
(NewlineNormalizingReader. (r/to-rdr rdr) nil nil)))
249249

250250
#?(:clj

0 commit comments

Comments
 (0)