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 @@
[toucan2.core :as t2])
(:import
(java.util.jar JarEntry JarFile)
(sun.nio.fs UnixPath)))
(java.nio.file Path)))
(set! *warn-on-reflection* true)
......@@ -220,7 +220,7 @@
(defn analytics-checksum
"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)
file-seq
(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