Skip to content
Snippets Groups Projects
Unverified Commit ad93047d authored by metabase-bot[bot]'s avatar metabase-bot[bot] Committed by GitHub
Browse files

Windows doesn't know what a UnixPath is: use Path (#40384) (#40404)


Co-authored-by: default avatarbryan <bryan.maass@gmail.com>
parent 4e8f2971
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
[toucan2.core :as t2]) [toucan2.core :as t2])
(:import (:import
(java.util.jar JarEntry JarFile) (java.util.jar JarEntry JarFile)
(sun.nio.fs UnixPath))) (java.nio.file Path)))
(set! *warn-on-reflection* true) (set! *warn-on-reflection* true)
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
(defn analytics-checksum (defn analytics-checksum
"Hashes the contents of all non-dir files in the `analytics-dir-resource`." "Hashes the contents of all non-dir files in the `analytics-dir-resource`."
[] []
(->> ^UnixPath (instance-analytics-plugin-dir (plugins/plugins-dir)) (->> ^Path (instance-analytics-plugin-dir (plugins/plugins-dir))
(.toFile) (.toFile)
file-seq file-seq
(remove fs/directory?) (remove fs/directory?)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment