Skip to content
Snippets Groups Projects
Unverified Commit 61cacd7f authored by bryan's avatar bryan Committed by GitHub
Browse files

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

parent 7216c2ed
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
[toucan2.core :as t2])
(:import
(java.util.jar JarEntry JarFile)
(sun.nio.fs UnixPath)))
(java.nio.file Path)))
(set! *warn-on-reflection* true)
......@@ -219,7 +219,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