Skip to content

Commit aa67338

Browse files
paulrdbbatsov
authored andcommitted
moved cache file to system temp director
1 parent 4472095 commit aa67338

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ install.cmd
2525
/out/
2626
/.lein-env
2727
.inline-deps
28-
/.artifacts-cache

src/refactor_nrepl/artifacts.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
java.util.zip.GZIPInputStream
1414
java.util.jar.JarFile))
1515

16-
(def artifacts-file ".artifacts-cache")
16+
(def artifacts-file (str (System/getProperty "java.io.tmpdir")
17+
"/refactor-nrepl-artifacts-cache"))
1718

1819
(defn get-last-modified-from-file
1920
"Returns last modified time in milliseconds or nil if file does not exist."

0 commit comments

Comments
 (0)