allow normalize-keywords to work on cljs files (#1421) [skip ci]

This commit is contained in:
Max Penet 2022-11-16 17:13:13 +01:00 committed by GitHub
parent b57981bcd5
commit 759d977879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@
(str (z/root zloc))))) (str (z/root zloc)))))
(doseq [f (file-seq (io/file code)) (doseq [f (file-seq (io/file code))
:when (re-find #"\.clj[cdx]?$" (str f)) :when (re-find #"\.clj[cdsx]?$" (str f))
:let [file-path (str f)]] :let [file-path (str f)]]
(when-let [findings' (findings file-path)] (when-let [findings' (findings file-path)]
(prn (format "Rewriting %s" file-path)) (prn (format "Rewriting %s" file-path))